summaryrefslogtreecommitdiffstats
path: root/cpukit/posix (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2011-03-08 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-03-087-8/+8
| | | | | | | | | PR 1759/cpukit * posix/src/cancel.c, posix/src/pthreaddetach.c, posix/src/pthreadequal.c, posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c, posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c: Some POSIX pthread services did not support using Classic API Task Ids.
* 2011-02-25 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-253-86/+0
| | | | | | | | * libcsupport/src/sleep_noposix.c: Remove. * libcsupport/Makefile.am: Reflect changes above. * posix/src/sleep.c, posix/src/usleep.c: Remove. * posix/Makefile.am: Reflect changes above. * configure.ac: Error out if libc doesn't provide sleep, usleep.
* Add missing includes.Ralf Corsepius2011-02-242-1/+2
|
* 2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-231-4/+4
| | | | * posix/include/rtems/posix/mqueue.h: Relocate "extern C++" guards.
* 2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-231-0/+2
| | | | * posix/include/rtems/posix/key.h: Add missing includes.
* 2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-231-5/+6
| | | | * posix/include/mqueue.h: Relocate "extern C++" guards.
* 2011-02-15 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-02-162-3/+2
| | | | | | | | | | | | * libmisc/capture/capture.c, posix/src/keyfreememory.c, posix/src/pthread.c, score/include/rtems/score/wkspace.h, score/src/objectextendinformation.c, score/src/objectnamespaceremove.c, score/src/objectsetname.c, score/src/threadclose.c, score/src/threadinitialize.c, score/src/wkspace.c: Many places were checking for a NULL pointer before calling _Workspace_Free. By moving the check into _Workspace_Free, we eliminate a number of conditional paths and make it harder to return a NULL pointer.
* 2011-01-17 Alin Rus <alin.codejunkie@gmail.com>Joel Sherrill2011-01-172-29/+71
| | | | | | | | | * posix/src/aio_cancel.c: Fixed ending of if braces. 2011-01-17 Alin Rus <alin.codejunkie@gmail.com> * posix/src/aio_misc.c: Add debug information. Fixed idle_threads/ active_threads issues. Fixed infinite loop in rtems_aio_handle().
* 2011-01-08 Alin Rus <alin.codejunkie@gmail.com>Joel Sherrill2011-01-083-68/+72
| | | | | | | | * posix/src/aio_misc.c: Fix rtems_aio_remove_req did not iterate over chain. * posix/src/aio_cancel.c: Add debug information. Add check for bad file descriptor. Add else branch for cancel request on empty IQ chain.
* 2011-01-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-01-041-2/+2
| | | | * posix/src/aio_cancel.c: Use perfd field not next_fd.
* 2010-12-03 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-12-031-1/+3
| | | | | | * configure.ac, posix/src/signal_2.c: sighandler_t is defined conditionally in some versions of newlib and unconditionally in others. Make sure we always compile.
* 2010-11-25 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-11-251-1/+1
| | | | | | | | | | | | | | | | | | * libfs/src/dosfs/fat_file.c, libfs/src/imfs/imfs_debug.c, libfs/src/imfs/imfs_directory.c, libfs/src/imfs/imfs_getchild.c, posix/src/killinfo.c, score/inline/rtems/score/schedulerpriority.inl, score/inline/rtems/score/watchdog.inl, score/src/apiext.c, score/src/chain.c, score/src/coremsgflushsupp.c, score/src/coremsginsert.c, score/src/objectshrinkinformation.c, score/src/schedulerpriorityyield.c, score/src/threadqdequeuepriority.c, score/src/threadqenqueuepriority.c, score/src/threadqextractpriority.c, score/src/threadqfirstfifo.c, score/src/threadqfirstpriority.c, score/src/threadyieldprocessor.c, score/src/userextthreadbegin.c, score/src/userextthreadcreate.c, score/src/userextthreaddelete.c, score/src/userextthreadrestart.c, score/src/userextthreadstart.c, score/src/userextthreadswitch.c, score/src/watchdogreportchain.c: Avoid chain API violations.
* 2010-11-24 Gedare Bloom <giddyup44@yahoo.com>Joel Sherrill2010-11-242-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PR 1647/cpukit * posix/src/nanosleep.c, posix/src/sched_yield.c, rtems/src/taskwakeafter.c, sapi/include/confdefs.h, sapi/include/rtems/config.h, sapi/src/exinit.c, score/Makefile.am, score/preinstall.am, score/include/rtems/score/prioritybitmap.h, score/include/rtems/score/thread.h, score/inline/rtems/score/thread.inl, score/src/thread.c, score/src/threadchangepriority.c, score/src/threadclearstate.c, score/src/threadclose.c, score/src/threadinitialize.c, score/src/threadready.c, score/src/threadresume.c, score/src/threadsetpriority.c, score/src/threadsetstate.c, score/src/threadsettransient.c, score/src/threadsuspend.c, score/src/threadtickletimeslice.c: Refactor scheduler out of thread handler to facilitate alternate scheduler implementations. * score/src/threadyieldprocessor.c: Removed. * score/src/schedulerprioritythreadschedulerupdate.c, score/src/schedulerprioritythreadschedulerfree.c, score/src/schedulerpriorityblock.c, score/src/scheduler.c, score/src/schedulerprioritythreadschedulerallocate.c, score/src/schedulerpriorityunblock.c, score/src/schedulerpriority.c, score/src/schedulerpriorityyield.c, score/include/rtems/score/schedulerpriority.h, score/include/rtems/score/scheduler.h, score/inline/rtems/score/scheduler.inl, score/inline/rtems/score/schedulerpriority.inl: New files.
* 2010-11-01 Alin Rus <alin.codejunkie@gmail.com>Joel Sherrill2010-11-012-15/+18
| | | | | * posix/include/rtems/posix/aio_misc.h, posix/src/aio_misc.c: Small fixes.
* 2010-10-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-10-211-7/+7
| | | | * posix/src/psignalunblockthread.c: Formatting.
* 2010-10-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-10-211-3/+3
| | | | | * posix/src/mutextimedlock.c: Check status local variable not lock_status.
* 2010-10-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-10-046-14/+167
| | | | | | | * Makefile.am, configure.ac, posix/Makefile.am, posix/src/pthread.c: * posix/src/pthreadattrgetguardsize.c, posix/src/pthreadattrgetstack.c, posix/src/pthreadattrsetguardsize.c, posix/src/pthreadattrsetstack.c: New files.
* 2010-09-28 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-09-281-5/+3
| | | | * posix/src/psignal.c: Fixed NULL pointer access.
* Regenerate.Ralf Corsepius2010-08-301-4/+0
|
* Remove devctl.Ralf Corsepius2010-08-301-4/+1
|
* Remove.Ralf Corsepius2010-08-302-83/+0
|
* 2010-08-29 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-08-291-1/+1
| | | | * posix/src/killinfo.c: Ensure interested is non-NULL before using it.
* 2010-08-25 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-08-252-1/+5
| | | | | | | | | | Coverity Id 164/UNINIT Coverity Id 165/UNINIT * posix/src/prwlockinit.c, posix/src/pspininit.c, score/include/rtems/score/corespinlock.h, score/inline/rtems/score/corerwlock.inl, score/inline/rtems/score/corespinlock.inl: Add initialization helpers for score rwlock and spinlock. Use them from POSIX.
* 2010-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-08-241-6/+8
| | | | * posix/src/aio_cancel.c: Spray pthread_mutex_unlocks.
* 2010-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-08-241-1/+1
| | | | * posix/src/aio_read.c: aio_nbytes is always >= 0.
* 2010-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-08-241-2/+2
| | | | | * posix/src/aio_write.c: aio_nbytes is always >= 0. Fix typo in comment.
* 2010-08-23 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-08-235-50/+31
| | | | | | | | | | | CID 79/DEADCODE CID 78/DEADCODE CID 77/DEADCODE CID 76/DEADCODE * posix/src/condtimedwait.c, posix/src/mutextimedlock.c, posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c, posix/src/semtimedwait.c: Resolve various dead code issues identified by Coverity scanner.
* 2010-08-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-08-202-1/+3
| | | | | * posix/include/rtems/posix/aio_misc.h: Add decl for aio_request_queue. * posix/src/aio_misc.c: Add aio_request_queue.
* 2010-08-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-08-201-3/+3
| | | | | * posix/include/rtems/posix/aio_misc.h: Remove rtems_aio_request_s, rtems_aio_request_chain_s, rtems_aio_queue_s;
* 2010-08-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-08-201-4/+11
| | | | | * posix/include/aio.h: Separate LIO-modes from LIO-opcodes (From freebsd).
* 2010-08-16 Alin Rus <alin.codejunkie@gmail.com>Ralf Corsepius2010-08-205-110/+232
| | | | | | | | * posix/include/aio.h: Add LIO_SYNC. * posix/include/rtems/posix/aio_misc.h: Add aio_request_queue, Cosmetics. * posix/src/aio_cancel.c, posix/src/aio_fsync.c, posix/src/aio_misc.c: Rework.
* 2010-08-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-08-162-4/+1
| | | | | | | * posix/include/rtems/posix/aio_misc.h: Remove rtems_aio_queue_s.size (Unused). * posix/src/aio_misc.c: Remove aio_request_queue.size. Cosmetics.
* 2010-08-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-08-161-4/+4
| | | | * posix/Makefile.am: Reflect aio-changes.
* 2010-08-16 Alin Rus <alin.codejunkie@gmail.com>Ralf Corsepius2010-08-165-55/+664
| | | | | | | * posix/src/aio_misc.c: New. * posix/src/aio_error.c, posix/src/aio_read.c, * posix/src/aio_return.c, posix/src/aio_write.c: New implementation.
* Regenerate.Ralf Corsepius2010-08-161-0/+4
|
* 2010-08-16 Alin Rus <alin.codejunkie@gmail.com>Ralf Corsepius2010-08-163-2/+106
| | | | | * posix/include/aio.h: Extend struct aiocb. * posix/include/rtems/posix/aio_misc.h: New.
* 2010-08-09 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-08-091-53/+32
| | | | | | PR 1615/cpukit * posix/src/keyrundestructors.c: Improved POSIX compliance. Now we may have an unlimited number of iterations.
* 2010-08-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-08-092-4/+4
| | | | | * posix/include/aio.h, posix/src/aio_return.c: Let aio_return return ssize_t (Mandated by POSIX).
* 2010-07-30 Gedare Bloom <giddyup44@yahoo.com>Joel Sherrill2010-07-302-2/+2
| | | | | | | | | | | | | PR 1599/cpukit * posix/src/psignalunblockthread.c, posix/src/pthreadkill.c, rtems/src/signalsend.c, score/include/rtems/score/percpu.h, score/inline/rtems/score/thread.inl, score/src/thread.c, score/src/threadchangepriority.c, score/src/threadclearstate.c, score/src/threaddispatch.c, score/src/threadready.c, score/src/threadresume.c, score/src/threadsetstate.c, score/src/threadstartmultitasking.c, score/src/threadsuspend.c, score/src/threadyieldprocessor.c: Rename _Context_Switch_necessary to _Thread_Dispatch_necessary to more properly reflect the intent.
* 2010-07-29 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-07-291-4/+3
| | | | * posix/src/psignalunblockthread.c: Clean up and simplify.
* 2010-07-28 Vinu Rajashekhar <vinutheraj@gmail.com>Joel Sherrill2010-07-283-13/+14
| | | | | | * posix/src/condinit.c, posix/src/condwaitsupp.c, posix/src/psignalunblockthread.c: Clean up some signal interruption code.
* 2010-07-27 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-07-271-1/+1
| | | | * posix/src/keycreate.c: Fix typo.
* 2010-07-27 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-07-271-1/+3
| | | | * posix/src/sigsuspend.c: Do not assert unless RTEMS_DEBUG is defined.
* 2010-07-27 Vinu Rajashekhar <vinutheraj@gmail.com>Joel Sherrill2010-07-271-7/+11
| | | | | | PR 1629/cpukit * posix/src/sigsuspend.c: sigsuspend() was not completely following the POSIX specification.
* 2010-07-27 Vinu Rajashekhar <vinutheraj@gmail.com>Joel Sherrill2010-07-272-4/+31
| | | | | | PR 1630/cpukit * posix/src/psignalchecksignal.c, posix/src/sigtimedwait.c: sigtimedwait() was not completely following the POSIX specification.
* 2010-07-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-07-265-55/+83
| | | | | | | | | | * libcsupport/src/privateenv.c, libmisc/cpuuse/cpuusagereport.c, posix/Makefile.am, posix/include/rtems/posix/key.h, posix/src/keycreate.c, posix/src/keydelete.c, score/src/iterateoverthreads.c: Since removing ITRON, the loop over all APIs for tasks has a path that cannot be reached. Either modify the code or mark tests for NULL as RTEMS_DEBUG. * posix/src/keyfreememory.c: New file.
* 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-06-297-21/+2
| | | | | | | | | | | | | | | | | | | PR 1573/cpukit * configure.ac, posix/src/killinfo.c, posix/src/psignalclearprocesssignals.c, posix/src/psignalsetprocesssignals.c, posix/src/psignalunblockthread.c, posix/src/pthreadcreate.c, posix/src/pthreadkill.c, posix/src/pthreadsigmask.c, rtems/src/signalsend.c, rtems/src/taskmode.c, score/Makefile.am, score/preinstall.am, score/include/rtems/system.h, score/include/rtems/score/context.h, score/include/rtems/score/isr.h, score/include/rtems/score/thread.h, score/src/isr.c, score/src/isrthreaddispatch.c, score/src/thread.c, score/src/threaddispatch.c, score/src/threadloadenv.c: Add a per cpu data structure which contains the information required by RTEMS for each CPU core. This encapsulates information such as thread executing, heir, idle and dispatch needed. * score/include/rtems/score/percpu.h, score/src/percpu.c: New files.
* 2010-06-22 Jennifer Averett <Jennifer.Averett@OARcorp.com>Jennifer Averett2010-06-222-9/+9
| | | | | * posix/src/nanosleep.c, posix/src/timersettime.c: Removed redundent code and cleaned up error checking code.
* 2010-06-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-06-212-3/+4
| | | | | * posix/src/keycreate.c, posix/src/killinfo.c: Remove more ITRON references.
* 2010-06-21 Peter Dufault <dufault@hda.com>Joel Sherrill2010-06-211-2/+2
| | | | | | PR 1570/cpukit * posix/src/semtimedwait.c: This routine is supposed to return -1/errno NOT the status directly.