summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* posix: POSIX_Message_queue_Control::process_sharedSebastian Huber2016-05-022-4/+0
| | | | Delete unused POSIX_Message_queue_Control::process_shared.
* posix: _POSIX_Message_queue_Create_support()Sebastian Huber2016-05-024-151/+90
| | | | | Make _POSIX_Message_queue_Create_support() static since it is only used by mq_open().
* posix: Avoid Giant lock for condition variablesSebastian Huber2016-04-2713-234/+241
| | | | Update #2555.
* telnetd: Fix warningsSebastian Huber2016-04-255-11/+14
|
* pppd: Fix warningsSebastian Huber2016-04-252-2/+2
|
* powerpc: Add FSL_EIS_TENSR, etc. definesSebastian Huber2016-04-221-0/+7
|
* network: Fix warningsSebastian Huber2016-04-2215-15/+38
|
* network: Ensure matching syscall prototypesSebastian Huber2016-04-226-26/+117
| | | | Ensure that kernel and user space system call protoypes are identical.
* network: Delete unused in4_cksum()Sebastian Huber2016-04-223-125/+0
|
* nfsclient: Fix warningsSebastian Huber2016-04-224-4/+19
|
* rtems: Avoid Giant lock for dual ported memorySebastian Huber2016-04-224-92/+54
| | | | | | | | There is no need for an ISR lock since the Dual_ported_memory_Control is immutable after initialization. ISR disable is enough for deletion safety on uni-processor configurations. Update #2555.
* score: Avoid Giant lock for CORE rwlockSebastian Huber2016-04-2214-525/+367
| | | | Update #2555.
* score: Avoid Giant lock for barriersSebastian Huber2016-04-2210-256/+203
| | | | | | Use _Thread_queue_Flush_critical() to atomically release the barrier. Update #2555.
* score: Add _Thread_queue_Flush_default_filter()Sebastian Huber2016-04-222-0/+26
|
* score: Use _Thread_queue_Flush_critical() for condSebastian Huber2016-04-221-67/+41
|
* score: Use _Thread_queue_Flush_critical for futexSebastian Huber2016-04-221-70/+28
|
* score: Add _Thread_queue_Is_empty()Sebastian Huber2016-04-221-0/+7
|
* posix: Use _Objects_Get_local() for semaphoresSebastian Huber2016-04-226-168/+83
| | | | | This simplifies the code since the object location is no longer used. Remove superfluous header includes.
* score: Avoid Giant lock for CORE mtx/semSebastian Huber2016-04-2210-141/+186
| | | | | | | Avoid Giant lock for CORE mutex and semaphore flush and delete operations. Update #2555.
* posix: Avoid Giant lock in sem_getvalue()Sebastian Huber2016-04-221-2/+11
| | | | Update #2555.
* score: Rename _CORE_RWLock_Obtain()Sebastian Huber2016-04-2111-13/+13
| | | | | | | | Rename _CORE_RWLock_Obtain_for_reading() into _CORE_RWLock_Seize_for_reading(). Rename _CORE_RWLock_Obtain_for_writing() into _CORE_RWLock_Seize_for_writing(). Rename _CORE_RWLock_Release() into _CORE_RWLock_Surrender(). This avoids confusion with the ISR lock acquire and release.
* score: Rename _CORE_barrier_Wait()Sebastian Huber2016-04-216-16/+16
| | | | | | Rename _CORE_barrier_Wait() into _CORE_barrier_Seize(). Rename _CORE_barrier_Release() into _CORE_barrier_Surrender(). This avoids confusion with the ISR lock acquire and release.
* score: Rename _MRSP_Obtain()Sebastian Huber2016-04-213-4/+4
| | | | | | Rename _MRSP_Obtain() into _MRSP_Seize(). Rename _MRSP_Release() into _MRSP_Surrender(). This avoids confusion with the ISR lock acquire and release.
* score: Optimize _Objects_Get_local()Sebastian Huber2016-04-216-8/+9
| | | | | Make the id the first parameter since usual callers get the object identifier as the first parameter themself.
* score: Optimize _Objects_Get_no_protection()Sebastian Huber2016-04-216-9/+11
| | | | | Make the id the first parameter since usual callers get the object identifier as the first parameter themself.
* score: Simplify _Objects_Get_next()Sebastian Huber2016-04-214-22/+12
| | | | Remove unused location parameter.
* score: Simplify _Objects_Initialize_information()Sebastian Huber2016-04-2125-142/+81
| | | | | | Remove unused supports_global parameter. Convert _Objects_Initialize_information() to a macro to avoid use of RTEMS_MULTIPROCESSING define for each caller.
* score: Introduce _Thread_queue_Flush_critical()Sebastian Huber2016-04-2112-86/+290
| | | | | | | | Replace _Thread_queue_Flush() with _Thread_queue_Flush_critical() and add a filter function for customization of the thread queue flush operation. Update #2555.
* posix: Avoid Giant lock for mutexesSebastian Huber2016-04-216-100/+41
| | | | | | | Delete _POSIX_Mutex_Get(). Use _POSIX_Mutex_Get_interrupt_disable() instead. Update #2555.
* score: Add and use _CORE_mutex_Acquire_critical()Sebastian Huber2016-04-211-8/+24
| | | | Add and use _CORE_mutex_Release().
* posix: Simplify _POSIX_Mutex_Get_interrupt_disableSebastian Huber2016-04-215-129/+65
| | | | Remove superfluous location parameter.
* posix: _POSIX_Condition_variables_Wait_support()Sebastian Huber2016-04-211-13/+5
| | | | | Simplify _POSIX_Condition_variables_Wait_support(), since there is no need to validate the mutex twice.
* score: Remove id parameter _CORE_mutex_Seize()Sebastian Huber2016-04-216-12/+2
| | | | Parameter was unused.
* score: Close semaphore object before flushSebastian Huber2016-04-212-26/+38
| | | | | This prevents use of the object after the flush on uni-processor configurations.
* score: Fix _CORE_semaphore_Flush()Sebastian Huber2016-04-217-21/+25
| | | | | | | Use proper CORE_semaphore_Status for _CORE_semaphore_Flush() and _CORE_semaphore_Destroy() operations. Close #2696.
* score: Close barrier object before flushSebastian Huber2016-04-211-1/+1
| | | | | This prevents use of the object after the flush on uni-processor configurations.
* score: Simplify _CORE_barrier_Flush()Sebastian Huber2016-04-212-9/+2
|
* score: Simplify _CORE_message_queue_Close()Sebastian Huber2016-04-214-14/+4
| | | | | | | Drop status parameter since each caller used CORE_MESSAGE_QUEUE_STATUS_WAS_DELETED. Remove superfluous _CORE_message_queue_Flush().
* score: Simplify _CORE_message_queue_Do_close()Sebastian Huber2016-04-211-11/+0
| | | | | Remove superfluous _CORE_message_queue_Flush() since we completely re-initialize the structure in _CORE_message_queue_Initialize().
* score: Delete unused CORE_RWLock_AttributesSebastian Huber2016-04-214-45/+3
|
* score: Use chain iterator for user extensionsSebastian Huber2016-04-186-40/+184
| | | | | | | | | | | Add a lock and use a chain iterator for safe iteration during concurrent user extension addition and removal. Ensure that dynamically added thread delete and fatal extensions are called in reverse order. Update #2555. Update #2692.
* score: _User_extensions_Handler_initialization()Sebastian Huber2016-04-181-28/+23
| | | | Simplify _User_extensions_Handler_initialization().
* sapi: Avoid Giant lock for extensionsSebastian Huber2016-04-182-25/+15
| | | | | | Extension create and delete is protected by the object allocator lock. Update #2555.
* score: Add Chain_IteratorSebastian Huber2016-04-181-0/+239
| | | | | Add a chain iterator for safe iteration of chains with concurrent node extraction.
* Obsolete rtems_clock_get() directive.Joel Sherrill2016-04-143-109/+0
| | | | | | | This service was marked as deprecated long prior to the 4.11 release series and is now being removed. closes #2676.
* conddefaultattributes.c: Add default clock to structure.Joel Sherrill2016-04-141-7/+6
|
* posix/src/condattr*etpshared.c: Clean up and improve commentsJoel Sherrill2016-04-142-22/+5
|
* Add pthread_getconcurrency() and pthread_setconcurrency()Joel Sherrill2016-04-142-0/+43
| | | | | | | | | This is the very simple implementation specified by the Open Group for implementations with 1:1 kernel thread to user thread mappings. http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_getconcurrency.html updates #2680.
* posix: Run key destructors during thread restartSebastian Huber2016-04-141-0/+10
| | | | | | | | | | POSIX key destructors must be called during thread restart. Just like the POSIX cleanup handlers. This ensures that the TLS object destructors are called during thread restart for example. It is important for the global construction, which uses a thread restart to run the Init task in a clean environment. Close #2689.
* cpukit: pppd: fix compile warningPeng Fan2016-04-1313-53/+0
| | | | | | rcsid is defined, but not used. So discard it. Signed-off-by: Peng Fan <van.freenix@gmail.com>