summaryrefslogtreecommitdiffstats
path: root/cpukit/posix (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* ptimer.h: Comment clean upJoel Sherrill2013-12-091-31/+14
|
* muteximpl.h: Comment clean upJoel Sherrill2013-12-091-108/+44
|
* pspin.c: Comment clean upJoel Sherrill2013-12-091-16/+7
|
* pbarrier.c: Comment clean upJoel Sherrill2013-12-091-16/+7
|
* cpukit/rtems: Remove XXX in commentsJoel Sherrill2013-12-091-2/+2
|
* posix: Use cleanup contexts on the stackSebastian Huber2013-12-026-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.
* POSIX timers: Add restrict keywordSahil Patnayakuni2013-11-292-4/+4
| | | | | + timer_create() + timer_settime()
* signal methods: Add restrict keywordBryan Dunsmore2013-11-296-13/+13
|
* score/rbtree: Remove "unprotected" from APISebastian Huber2013-11-214-8/+8
|
* Fix building with RTEMS_DEBUG.Chris Johns2013-09-301-3/+17
|
* _execve.c: Fix missing prototype warningsJoel Sherrill2013-09-221-1/+7
|
* semopen.c: Switch to using RTEMS_COMPILER_UNUSED_ATTRIBUTEJoel Sherrill2013-09-221-11/+8
|
* mqueueopen.c: Switch to using RTEMS_COMPILER_UNUSED_ATTRIBUTEJoel Sherrill2013-09-221-11/+8
|
* semopen.c: Address set but unused variable warningJoel Sherrill2013-09-211-0/+9
|
* sigsuspend.c: Address set but unused variable warningJoel Sherrill2013-09-211-3/+6
|
* mqueueopen.c: Address set but unused variable warningJoel Sherrill2013-09-211-0/+10
|
* sapi: SMP support for chainsSebastian Huber2013-08-302-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.
* posix: Avoid NULL pointer accessSebastian Huber2013-08-281-3/+5
|
* posix: Add and use _POSIX_signals_Acquire()Sebastian Huber2013-08-276-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.
* posix: _POSIX_signals_Clear_process_signals()Sebastian Huber2013-08-271-28/+11
| | | | Do not disable interrupts since the caller did this already.
* posix: Protect access to _POSIX_signals_VectorsSebastian Huber2013-08-271-11/+6
| | | | | Assume the sigaction() is called only from thread context. Protect against concurrent sigaction() invocations by different threads.
* score: _Thread_queue_Enqueue_with_handler()Sebastian Huber2013-08-233-3/+7
| | | | | Add thread parameter to _Thread_queue_Enqueue_with_handler() to avoid access to global _Thread_Executing.
* posix: Update to the pthread_once changes.Chris Johns2013-08-234-26/+44
| | | | | | Implement the reeview changes. Add a POSIX Fatal error domain. Fix confdefs.h to correctly handle the internal POSIX mutexes.
* posix: TypoSebastian Huber2013-08-141-1/+1
|
* posix: Change pthread_once to be SMP safe.Chris Johns2013-08-145-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.
* posix: Handle recursive attributes correctly.Chris Johns2013-08-141-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.
* PR766: Delete __RTEMS_INSIDE__Sebastian Huber2013-08-081-2/+0
|
* posix: Delete POSIX_Keys_Freechain typeSebastian Huber2013-08-085-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.
* posix: Add missing header.Chris Johns2013-08-081-8/+9
|
* posix: Use _Objects_Put() for POSIX keysSebastian Huber2013-08-063-10/+15
|
* posix: Create key implementation headerSebastian Huber2013-08-0614-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.
* Unlimited objects support for POSIX keysZhongwei Yao2013-08-0611-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.
* Fix compiler warningsR. Diez2013-08-061-1/+1
|
* score: Rename tod.h to todimpl.hSebastian Huber2013-08-0112-12/+12
|
* posix: Simplify pthread_kill()Sebastian Huber2013-07-301-1/+0
| | | | | Delete _Thread_Signal_notification() since this is a side-effect of _POSIX_signals_Unblock_thread().
* score: Add and use _Thread_Signal_notification()Sebastian Huber2013-07-302-5/+2
|
* score: Merge tod implementation into one fileSebastian Huber2013-07-2619-36/+13
| | | | | Delete TOD_MICROSECONDS_PER_SECOND, TOD_MICROSECONDS_TO_TICKS() and TOD_MILLISECONDS_TO_TICKS().
* score: Create object implementation headerSebastian Huber2013-07-2642-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.
* Include missing <rtems/score/threaddispatch.h>Sebastian Huber2013-07-262-9/+4
|
* score: Create mpci implementation headerSebastian Huber2013-07-268-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.
* score: Create threadq implementation headerSebastian Huber2013-07-2621-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.
* score: Create states implementation headerSebastian Huber2013-07-2619-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.
* score: Create thread implementation headerSebastian Huber2013-07-2615-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.
* score: Create scheduler implementation headerSebastian Huber2013-07-262-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.
* POSIX Semaphore: Add restrict keyword per Single UNIX SpecificationSahil Patnayakunii2013-07-243-8/+8
|
* POSIX AIO: Add restrict keyword per Single UNIX SpecificationSahil Patnayakunii2013-07-242-8/+9
|
* POSIX mqueue.h: Add restrict keyword per Single UNIX SpecificationSahil Patnayakunii2013-07-243-10/+10
|
* score: Create stack implementation headerSebastian Huber2013-07-233-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.
* posix: Include missing <stdint.h>Sebastian Huber2013-07-231-0/+2
|
* posix: Include proper header fileSebastian Huber2013-07-232-2/+2
|