summaryrefslogtreecommitdiffstats
path: root/cpukit/posix (follow)
Commit message (Collapse)AuthorAgeFilesLines
* score: replace current and real priority with priority nodeGedare Bloom2018-03-234-16/+16
| | | | | | | | | Encapsulate the current_priority and real_priority fields of the thread control block with a Thread_Priority_node struct. Propagate modifications throughout the tree where the two fields are directly accessed. Updates #3359.
* posix: Fix return states of pthread_kill()Sebastian Huber2016-05-171-19/+14
| | | | | | POSIX mandates that an error code is returned and not -1 plus errno. Update #2715.
* posix: Fix return status of pthread_cancel()Sebastian Huber2016-05-171-1/+1
| | | | | | | POSIX recommends ESRCH in case no thread exists for the specified identifier. Update #2713.
* posix: fix race condition between pthread_create and capture engineTill Strauman2014-04-111-0/+5
| | | | | | | Fix PR 2068: Reproducable crashes occur when using pthreads and the capture engine at the same time. 'pthread_create()' is the culprit. It creates a SCORE thread and then calls Thread_Start( ) without disabling thread-dispatching.
* Add .git ignore. Remove .cvsignoreJoel Sherrill2012-02-022-6/+0
|
* 2011-09-01 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-09-012-13/+17
| | | | | | | | PR 1895/cpukit * posix/src/mqueuerecvsupp.c, posix/src/pthreadjoin.c, score/src/coretodmsecstoticks.c, score/src/coretodusectoticks.c, score/src/timespectoticks.c: Ensure time conversions to ticks do not ignore partial tick and return 1 less than desired.
* 2011-07-31 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-07-314-18/+26
| | | | | | | | | | PR 1855/cpukit * posix/src/psignal.c, posix/src/psignalunblockthread.c, posix/src/pthread.c, posix/src/pthreadjoin.c: Correct signal processing during pthread_join. We are supposed to unblock the thread waiting on a pthread_join(), dispatch the signal handler, account for it potentially overwriting errno, and then have the thread return to blocking within pthread_join().
* 2011-07-31 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-07-312-8/+45
| | | | | | | | PR 1867/cpukit * posix/src/pthreadexit.c, posix/src/pthreadjoin.c: Correct implementation of pthread_exit() and pthread_join() to support the case where a thread is joinable but calls pthread_exit() before a thread has attempted to join.
* 2011-05-19 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-05-195-6/+49
| | | | | | | | | * posix/Makefile.am: Add posixtime.h. * posix/src/clockgetres.c, posix/src/clockgettime.c, posix/src/clocksettime.c: Use CLOCK_PROCESS_CPUTIME_ID, CLOCK_THREAD_CPUTIME_ID. Include posix/src/posixtime.h. * posix/src/posixtime.h: New.
* 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-01-21 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-01-211-4/+2
| | | | | * posix/src/psignal.c: Back port patch from head to avoid derefencing NULL.
* 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-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.
* 2010-06-16 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-06-161-3/+2
| | | | | | PR 1453/cpukit * posix/Makefile.am: newlib uses sysconf() for _CLOCKS_PER_SEC_ so enable it even when POSIX threads are disabled.
* 2010-06-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-06-151-3/+3
| | | | | * posix/include/rtems/posix/pthread.h: Remove stray comment. Work-around doxygen comment bug.
* 2010-06-14 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-06-141-3/+3
| | | | | | | | | * libnetworking/rtems/mkrootfs.h, posix/include/rtems/posix/pthread.h, score/include/rtems/score/coresem.h, score/include/rtems/score/priority.h, score/include/rtems/score/threadq.h, score/include/rtems/score/timestamp.h: Move 'extern "C"'.
* 2010-06-14 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-06-141-0/+8
| | | | * posix/include/rtems/posix/threadsup.h: Add extern "C".
* 2010-06-12 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-06-121-1/+1
| | | | * posix/include/devctl.h: Move mal-placed @file.
* 2010-04-30 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-04-303-4/+3
| | | | | * posix/src/alarm.c, posix/src/psignal.c, posix/src/ualarm.c: Moved watchdog control objects to reduce dependencies.
* 2010-04-25 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-04-251-4/+9
| | | | | | * posix/src/pthread.c: Make default pthread_attr_t match the conditionals in the version in newlib. This way it will always be right.
* Regenerate.Ralf Corsepius2010-04-031-4/+0
|
* 2010-04-03 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-04-032-106/+1
| | | | | * posix/include/sched.h: Remove. * posix/Makefile.am: Remove include/sched.h.
* Reflect POSIX sched_parm changes.Ralf Corsepius2010-04-033-17/+17
|
* #include <unistd.h>.Ralf Corsepius2010-04-021-0/+1
|
* 2009-12-10 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-12-101-4/+8
| | | | | PR 1482 * posix/src/timersettime.c: Exit dispatching critical section.
* Unconditionally build src/sigprocmask.c.Ralf Corsepius2009-12-101-1/+3
|
* Provide stub if RTEMS_POSIX_API is disabled.Ralf Corsepius2009-12-101-0/+4
|
* 2009-12-04 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-12-041-2/+8
| | | | | | | * posix/Makefile.am: Unconditionally build posix/src/sigaddset.c, posix/src/sigdelset.c, posix/src/sigfillset.c, posix/src/sigemptyset.c, posix/src/sigismember.c.
* Remove unnecessary includes.Ralf Corsepius2009-12-046-20/+5
|
* Regenerate.Ralf Corsepius2009-12-041-5/+9
|
* Unconditionally install posix/include/rtems/posix/sigset.h.Ralf Corsepius2009-12-041-2/+5
|
* Reflect having split out posix/include/rtems/posix/sigset.h.Ralf Corsepius2009-12-041-17/+1
|
* 2009-12-04 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-12-041-0/+42
| | | | | * posix/include/rtems/posix/sigset.h: New (Split out from posix/include/rtems/posix/psignal.h).
* Unconditionally build src/wait.c src/waitpid.c.Ralf Corsepius2009-12-041-2/+3
|
* 2009-12-04 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-12-041-2/+8
| | | | * posix/Makefile.am: Unconditionally build fork.c, vfork.c.
* Regenerate.Ralf Corsepius2009-12-041-2/+0
|
* Eliminate AM_CONDITIONAL LIBPOSIX.Ralf Corsepius2009-12-041-3/+0
|
* Whitespace removal.Ralf Corsepius2009-11-3042-60/+60
|
* Whitespace removal.Ralf Corsepius2009-11-281-2/+2
|
* 2009-10-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-10-111-1/+2
| | | | | * posix/src/alarm.c: If 0 seconds do not insert timer. * rtems/src/regionextend.c: Eliminate warning. Use default else.
* 2009-10-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-10-103-9/+7
| | | | | | | * posix/include/rtems/posix/threadsup.h, posix/src/cancel.c, posix/src/canceleval.c: Make psxcancel run again. _POSIX_Thread_Exit() can be called on running thread or another thread when it is cancelled.
* 2009-10-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-10-106-72/+47
| | | | | | | | * posix/src/mqueuetimedreceive.c, posix/src/mqueuetimedsend.c, posix/src/mutextimedlock.c, posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c, posix/src/semtimedwait.c: Switch from switch to if's because only one value needed to be tested. This shrinks the code and makes it easier to do coverage analysis on.
* 2009-10-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-10-044-38/+37
| | | | | | | * posix/include/rtems/posix/psignal.h: Add extern for ualarm timer. * posix/src/alarm.c, posix/src/ualarm.c: Change from switch to if since many enumerated values have no action. * posix/src/psignal.c: Initialize ualarm and alarm timers.
* 2009-09-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-09-261-2/+2
| | | | | | * libmisc/capture/capture.c, posix/src/pthread.c, rtems/src/tasks.c, score/include/rtems/score/userext.h: Eliminate use of deprecated rtems_extension. Re-add prototype for _User_extensions_Add_API_set.
* 2009-09-25 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-09-251-1/+1
| | | | | * posix/include/rtems/posix/threadsup.h: Add no return atrribute to _POSIX_Thread_Exit().
* 2009-09-24 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-09-242-23/+1
| | | | | | * libcsupport/src/getpagesize.c, posix/Makefile.am: Eliminate one copy of getpagesize() and make it return an int. * posix/src/getpagesize.c: Removed.
* 2009-09-20 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-09-202-1/+23
| | | | | * posix/Makefile.am: Add getpagesize(). Now required by GNU Ada. * posix/src/getpagesize.c: New file.
* 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-09-141-4/+8
| | | | | * posix/src/nanosleep.c: Disable EINTR case when POSIX is disabled because it cannot happen.
* 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-09-132-4/+3
| | | | | | * posix/Makefile.am, posix/src/clockgetres.c: Add clockgetres.c to set of clock and delayt methods built when POSIX threads are disabled. Ensure it builds when POSIX is disabled.