summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* powerpc: Add FSL_EIS_MAS8Sebastian Huber2016-04-131-0/+2
|
* posix: Rename killinfo()Sebastian Huber2016-04-125-5/+5
| | | | | | Apparently killinfo() is not defined by POSIX, glibc or FreeBSD. Rename killinfo() to _POSIX_signals_Send() to cleary mark it as an internal function.
* shell: Fix warning visible with latest NewlibSebastian Huber2016-04-121-0/+2
| | | | Works also with previous Newlib versions.
* rtems: Delete Region_Control::page_sizeSebastian Huber2016-04-123-3/+1
|
* rtems: Delete Region_Control::lengthSebastian Huber2016-04-124-4/+1
|
* rtems: Delete Region_Control::starting_addressSebastian Huber2016-04-123-6/+4
|
* rtems: Delete Region_Control::number_of_used_blocksSebastian Huber2016-04-127-12/+9
| | | | Use Heap_Statistics::used_blocks instead.
* rtems: Add and use _Region_Get_and_lock()Sebastian Huber2016-04-1210-167/+162
| | | | | Get region and lock allocator in _Region_Get_and_lock() in case the region exists and unlock it in _Region_Unlock().
* score: Simplify _Objects_Get_no_protection()Sebastian Huber2016-04-1214-341/+207
| | | | | | | This functions supports only local objects. Thus, drop the location parameter which was unused by all callers. Remove superfluous includes from Classic Region implementation.
* rtems: Ensure lock ownership for _Region_Get()Sebastian Huber2016-04-122-0/+5
|
* rtems: Remove dead codeSebastian Huber2016-04-121-20/+0
| | | | | The heap protection enabled by RTEMS_DEBUG offers the same functionality and more.
* posix: Use a dedicated lock for scheduler changesSebastian Huber2016-04-125-40/+83
| | | | Update #2555.
* posix: Use proper lock for sigaction()Sebastian Huber2016-04-081-20/+9
| | | | Update #2555.
* score: Compatibility with latest NewlibSebastian Huber2016-04-082-20/+20
|