Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | posix: Add pthread_attr_t methods to get/set affinity. | Jennifer Averett | 2014-03-07 | 3 | -0/+108 |
| | | | | | | | This patch adds the following methods: + pthread_attr_get_affinity_np + pthread_attr_set_affinity_np | ||||
* | posix: Add support method to compare two pthread attribute structures. | Jennifer Averett | 2014-03-07 | 2 | -0/+95 |
| | |||||
* | posix: Add POSIX thread affinity attribute support. | Jennifer Averett | 2014-03-07 | 4 | -16/+129 |
| | | | | | With the addition of pthread affinity information in pthread_attr_t, the existing code for pthread_attr_t had to be adjusted. | ||||
* | posix: Set pthread attribute values in detach and setschedparm methods. | Jennifer Averett | 2014-02-19 | 2 | -0/+4 |
| | |||||
* | posix/*.c: Remove use of register keyword | Joel Sherrill | 2014-02-03 | 13 | -26/+26 |
| | |||||
* | posix: fix race condition between pthread_create and capture engine | Till Strauman | 2014-01-09 | 1 | -0/+5 |
| | | | | | | 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. | ||||
* | alarm.c: Use _Assert() not assert() | Joel Sherrill | 2013-12-10 | 1 | -1/+1 |
| | |||||
* | alarm.c: Per comment add debug code for kill() failing | Joel Sherrill | 2013-12-09 | 1 | -4/+17 |
| | | | | | This is highly unlikely and would indicate a serious bug in the system or corruption. But it is better to be cautious. | ||||
* | pthread.c: Use UINT32_MAX rather than constant value | Joel Sherrill | 2013-12-09 | 1 | -1/+1 |
| | |||||
* | condwaitsupp.c: Return EPERM if waiting and mutex is not locked | Joel Sherrill | 2013-12-09 | 1 | -4/+8 |
| | | | | | | This error check was commented out because it is not in the POSIX specification. However, the GNU/Linux manual page does document that EPERM is to be returned in this situation. | ||||
* | psignalimpl.h: Remove dead comment | Joel Sherrill | 2013-12-09 | 1 | -3/+1 |
| | |||||
* | pthread.c: Remove XXX and use SIGNAL_ constants | Joel Sherrill | 2013-12-09 | 1 | -5/+3 |
| | |||||
* | posix/config.h: Comment clean up | Joel Sherrill | 2013-12-09 | 1 | -10/+102 |
| | |||||
* | signalcatch.c: Remove junk comment | Joel Sherrill | 2013-12-09 | 1 | -1/+1 |
| | |||||
* | timerimpl.h: Comment clean up | Joel Sherrill | 2013-12-09 | 1 | -36/+22 |
| | |||||
* | semaphoreimpl.h: Comment clean up | Joel Sherrill | 2013-12-09 | 1 | -79/+38 |
| | |||||
* | mqueueimpl.h: Comment clean up | Joel Sherrill | 2013-12-09 | 1 | -176/+91 |
| | |||||
* | condimpl.h: Comment clean up | Joel Sherrill | 2013-12-09 | 1 | -98/+35 |
| | |||||
* | ptimer.h: Comment clean up | Joel Sherrill | 2013-12-09 | 1 | -31/+14 |
| | |||||
* | muteximpl.h: Comment clean up | Joel Sherrill | 2013-12-09 | 1 | -108/+44 |
| | |||||
* | pspin.c: Comment clean up | Joel Sherrill | 2013-12-09 | 1 | -16/+7 |
| | |||||
* | pbarrier.c: Comment clean up | Joel Sherrill | 2013-12-09 | 1 | -16/+7 |
| | |||||
* | cpukit/rtems: Remove XXX in comments | Joel Sherrill | 2013-12-09 | 1 | -2/+2 |
| | |||||
* | posix: Use cleanup contexts on the stack | Sebastian Huber | 2013-12-02 | 6 | -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 keyword | Sahil Patnayakuni | 2013-11-29 | 2 | -4/+4 |
| | | | | | + timer_create() + timer_settime() | ||||
* | signal methods: Add restrict keyword | Bryan Dunsmore | 2013-11-29 | 6 | -13/+13 |
| | |||||
* | score/rbtree: Remove "unprotected" from API | Sebastian Huber | 2013-11-21 | 4 | -8/+8 |
| | |||||
* | Fix building with RTEMS_DEBUG. | Chris Johns | 2013-09-30 | 1 | -3/+17 |
| | |||||
* | _execve.c: Fix missing prototype warnings | Joel Sherrill | 2013-09-22 | 1 | -1/+7 |
| | |||||
* | semopen.c: Switch to using RTEMS_COMPILER_UNUSED_ATTRIBUTE | Joel Sherrill | 2013-09-22 | 1 | -11/+8 |
| | |||||
* | mqueueopen.c: Switch to using RTEMS_COMPILER_UNUSED_ATTRIBUTE | Joel Sherrill | 2013-09-22 | 1 | -11/+8 |
| | |||||
* | semopen.c: Address set but unused variable warning | Joel Sherrill | 2013-09-21 | 1 | -0/+9 |
| | |||||
* | sigsuspend.c: Address set but unused variable warning | Joel Sherrill | 2013-09-21 | 1 | -3/+6 |
| | |||||
* | mqueueopen.c: Address set but unused variable warning | Joel Sherrill | 2013-09-21 | 1 | -0/+10 |
| | |||||
* | sapi: SMP support for chains | Sebastian Huber | 2013-08-30 | 2 | -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 access | Sebastian Huber | 2013-08-28 | 1 | -3/+5 |
| | |||||
* | posix: Add and use _POSIX_signals_Acquire() | Sebastian Huber | 2013-08-27 | 6 | -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 Huber | 2013-08-27 | 1 | -28/+11 |
| | | | | Do not disable interrupts since the caller did this already. | ||||
* | posix: Protect access to _POSIX_signals_Vectors | Sebastian Huber | 2013-08-27 | 1 | -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 Huber | 2013-08-23 | 3 | -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 Johns | 2013-08-23 | 4 | -26/+44 |
| | | | | | | Implement the reeview changes. Add a POSIX Fatal error domain. Fix confdefs.h to correctly handle the internal POSIX mutexes. | ||||
* | posix: Typo | Sebastian Huber | 2013-08-14 | 1 | -1/+1 |
| | |||||
* | posix: Change pthread_once to be SMP safe. | Chris Johns | 2013-08-14 | 5 | -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 Johns | 2013-08-14 | 1 | -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 Huber | 2013-08-08 | 1 | -2/+0 |
| | |||||
* | posix: Delete POSIX_Keys_Freechain type | Sebastian Huber | 2013-08-08 | 5 | -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 Johns | 2013-08-08 | 1 | -8/+9 |
| | |||||
* | posix: Use _Objects_Put() for POSIX keys | Sebastian Huber | 2013-08-06 | 3 | -10/+15 |
| | |||||
* | posix: Create key implementation header | Sebastian Huber | 2013-08-06 | 14 | -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 keys | Zhongwei Yao | 2013-08-06 | 11 | -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. |