summaryrefslogtreecommitdiffstats
path: root/cpukit/posix (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-12-09ptimer.h: Comment clean upJoel Sherrill1-31/+14
2013-12-09muteximpl.h: Comment clean upJoel Sherrill1-108/+44
2013-12-09pspin.c: Comment clean upJoel Sherrill1-16/+7
2013-12-09pbarrier.c: Comment clean upJoel Sherrill1-16/+7
2013-12-09cpukit/rtems: Remove XXX in commentsJoel Sherrill1-2/+2
2013-12-02posix: Use cleanup contexts on the stackSebastian Huber6-13/+110
Provide support for latest Newlib <pthread.h> change. The cleanup contexts are stored on the thread stack. This is conformant with the POSIX requirements for the pthread_cleanup_push() and pthread_cleanup_pop() statement pair. Passing an invalid pointer as the routine to pthread_cleanup_push() is now a usage error and the behaviour is undefined.
2013-11-29POSIX timers: Add restrict keywordSahil Patnayakuni2-4/+4
+ timer_create() + timer_settime()
2013-11-29signal methods: Add restrict keywordBryan Dunsmore6-13/+13
2013-11-21score/rbtree: Remove "unprotected" from APISebastian Huber4-8/+8
2013-09-30Fix building with RTEMS_DEBUG.Chris Johns1-3/+17
2013-09-22_execve.c: Fix missing prototype warningsJoel Sherrill1-1/+7
2013-09-22semopen.c: Switch to using RTEMS_COMPILER_UNUSED_ATTRIBUTEJoel Sherrill1-11/+8
2013-09-22mqueueopen.c: Switch to using RTEMS_COMPILER_UNUSED_ATTRIBUTEJoel Sherrill1-11/+8
2013-09-21semopen.c: Address set but unused variable warningJoel Sherrill1-0/+9
2013-09-21sigsuspend.c: Address set but unused variable warningJoel Sherrill1-3/+6
2013-09-21mqueueopen.c: Address set but unused variable warningJoel Sherrill1-0/+10
2013-08-30sapi: SMP support for chainsSebastian Huber2-21/+29
Add ISR lock to chain control for proper SMP protection. Replace rtems_chain_extract() with rtems_chain_explicit_extract() and rtems_chain_insert() with rtems_chain_explicit_insert() on SMP configurations. Use rtems_chain_explicit_extract() and rtems_chain_explicit_insert() to provide SMP support.
2013-08-28posix: Avoid NULL pointer accessSebastian Huber1-3/+5
2013-08-27posix: Add and use _POSIX_signals_Acquire()Sebastian Huber6-16/+44
Add and use _POSIX_signals_Release(). The post-switch handler is not protected by disabled thread dispatching. Use proper SMP lock for signal management.
2013-08-27posix: _POSIX_signals_Clear_process_signals()Sebastian Huber1-28/+11
Do not disable interrupts since the caller did this already.
2013-08-27posix: Protect access to _POSIX_signals_VectorsSebastian Huber1-11/+6
Assume the sigaction() is called only from thread context. Protect against concurrent sigaction() invocations by different threads.
2013-08-23score: _Thread_queue_Enqueue_with_handler()Sebastian Huber3-3/+7
Add thread parameter to _Thread_queue_Enqueue_with_handler() to avoid access to global _Thread_Executing.
2013-08-23posix: Update to the pthread_once changes.Chris Johns4-26/+44
Implement the reeview changes. Add a POSIX Fatal error domain. Fix confdefs.h to correctly handle the internal POSIX mutexes.
2013-08-14posix: TypoSebastian Huber1-1/+1
2013-08-14posix: Change pthread_once to be SMP safe.Chris Johns5-11/+155
Change pthread_once from using disabled pre-emption to using a pthread mutex making it SMP safe. GCC using a posix threading model uses pthread_once. The pthread mutex requires at least 1 mutex is configured so confdefs.h has been updated to account for the internal mutex.
2013-08-14posix: Handle recursive attributes correctly.Chris Johns1-1/+1
The recursive field in the pthread_mutexattr_t is now not used. The code in pthread_mutexattr_settype only sets the type field and not the recursive field.
2013-08-08PR766: Delete __RTEMS_INSIDE__Sebastian Huber1-2/+0
2013-08-08posix: Delete POSIX_Keys_Freechain typeSebastian Huber5-80/+76
Use the POSIX configuration value directly. Use right type early and avoid casts. Use proper unlimited objects API. Check workspace allocation. Make functions static.
2013-08-08posix: Add missing header.Chris Johns1-8/+9
2013-08-06posix: Use _Objects_Put() for POSIX keysSebastian Huber3-10/+15
2013-08-06posix: Create key implementation headerSebastian Huber14-252/+219
Move implementation specific parts of key.h and key.inl into new header file keyimpl.h. The key.h contains now only the application visible API.
2013-08-06Unlimited objects support for POSIX keysZhongwei Yao11-165/+374
This patch enables unlimited model in POSIX key manger and have a decent runtime on POSIX key searching, adding and deleting operations. Memory overhead is lower than current implementation when the size of key and key value becomes big.
2013-08-06Fix compiler warningsR. Diez1-1/+1
2013-08-01score: Rename tod.h to todimpl.hSebastian Huber12-12/+12
2013-07-30posix: Simplify pthread_kill()Sebastian Huber1-1/+0
Delete _Thread_Signal_notification() since this is a side-effect of _POSIX_signals_Unblock_thread().
2013-07-30score: Add and use _Thread_Signal_notification()Sebastian Huber2-5/+2
2013-07-26score: Merge tod implementation into one fileSebastian Huber19-36/+13
Delete TOD_MICROSECONDS_PER_SECOND, TOD_MICROSECONDS_TO_TICKS() and TOD_MILLISECONDS_TO_TICKS().
2013-07-26score: Create object implementation headerSebastian Huber42-35/+9
Move implementation specific parts of object.h and object.inl into new header file objectimpl.h. The object.h contains now only the application visible API.
2013-07-26Include missing <rtems/score/threaddispatch.h>Sebastian Huber2-9/+4
2013-07-26score: Create mpci implementation headerSebastian Huber8-24/+0
Move implementation specific parts of mpci.h into new header file mpciimpl.h. The mpci.h contains now only the application visible API.
2013-07-26score: Create threadq implementation headerSebastian Huber21-23/+20
Move implementation specific parts of tqdata.h, threadq.h and threadq.inl into new header file threadqimpl.h. The threadq.h contains now only the application visible API. Delete tqdata.h.
2013-07-26score: Create states implementation headerSebastian Huber19-41/+16
Move implementation specific parts of states.h and states.inl into new header file statesimpl.h. The states.h contains now only the application visible API.
2013-07-26score: Create thread implementation headerSebastian Huber15-33/+24
Move implementation specific parts of thread.h and thread.inl into new header file threadimpl.h. The thread.h contains now only the application visible API. Remove superfluous header file includes from various files.
2013-07-26score: Create scheduler implementation headerSebastian Huber2-14/+6
Move implementation specific parts of scheduler.h and scheduler.inl into new header file schedulerimpl.h. The scheduler.h contains now only the application visible API.
2013-07-24POSIX Semaphore: Add restrict keyword per Single UNIX SpecificationSahil Patnayakunii3-8/+8
2013-07-24POSIX AIO: Add restrict keyword per Single UNIX SpecificationSahil Patnayakunii2-8/+9
2013-07-24POSIX mqueue.h: Add restrict keyword per Single UNIX SpecificationSahil Patnayakunii3-10/+10
2013-07-23score: Create stack implementation headerSebastian Huber3-6/+8
Move implementation specific parts of stack.h and stack.inl into new header file stackimpl.h. The stack.h contains now only the application visible API.
2013-07-23posix: Include missing <stdint.h>Sebastian Huber1-0/+2
2013-07-23posix: Include proper header fileSebastian Huber2-2/+2