summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-12-025 spelling errors for a Google Code-In task.Jacob Shin1-1/+1
Username: deuteriumoxide Email: jacobshin313@gmail.com
2018-10-29posix: Provide threads by defaultSebastian Huber4-15/+37
Update #2514.
2018-10-29posix: Provide shared memory objects by defaultSebastian Huber1-0/+40
Update #2514.
2018-10-29posix: Split posix_api_configuration_tableSebastian Huber13-13/+212
Use separate configuration variables to avoid false dependencies. Update #2514.
2018-10-29Remove RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMESSebastian Huber3-5/+5
Enable support for string objects names unconditionally. Add const qualifier throughout. Split _Objects_Namespace_remove() into _Objects_Namespace_remove_u32() and _Objects_Namespace_remove_string() to avoid an unnecessary dependency on _Workspace_Free(). Update #2514.
2018-10-29score: Remove bogus thread object name supportSebastian Huber1-3/+1
Update #2514.
2018-10-24posix: Provide get thread attributes by defaultSebastian Huber1-0/+4
Update #2514.
2018-10-12posix: Fix unused result warningSebastian Huber1-2/+2
2018-10-09posix: Remove static assertionSebastian Huber1-2/+0
Standard C does not allow pointer operands in an integer constant expressions. GCC issues only a -Wpedantic warning in the removed static assertion. However, clang is pedantic by default and issues an error. Rely on the test case instead.
2018-10-05score: Fix legacy RTEMS_STATIC_ASSERT()Sebastian Huber2-2/+3
In standard C pointer operands are not allowed in integer constant expressions. Avoid a static assertion based on an array typedef since this could lead to warnings ("variably modified 'x' at file scope" and "typedef 'x' locally defined but not used"); This implementation requires unique messages.
2018-10-04Rename files to make them unique within cpukitSebastian Huber3-0/+0
This allows to build librtemscpu.a in one rush in the future.
2018-08-10posix: Add configure check for mprotect()Sebastian Huber1-0/+4
Update #3491.
2018-07-25score: RTEMS_PREDICT_TRUE(), RTEMS_PREDICT_FALSE()Sebastian Huber3-4/+4
Add RTEMS_PREDICT_TRUE() and RTEMS_PREDICT_FALSE() for static branch prediction hints. Close #3475.
2018-07-16posix: Fix rwlock auto initializationSebastian Huber1-1/+1
Add more test cases.
2018-07-05posix: Check for new <pthread.h> prototypesSebastian Huber3-8/+16
Update #3342. Update #3343.
2018-02-08Use _Thread_Dispatch_direct()Sebastian Huber2-2/+2
Use _Thread_Dispatch_direct() for operations that block the executing thread. This ensures that we get a fatal error (INTERNAL_ERROR_BAD_THREAD_DISPATCH_DISABLE_LEVEL) if we try to block in an invalid context, e.g. during system start or an interrupt handler.
2018-02-02posix: Use one second based CLOCK_MONOTONICSebastian Huber1-2/+3
This simplifies the CLOCK_MONOTONIC based time services. It is potentially important for libbsd. Close #3265.
2018-02-02score: Introduce new monotonic clockSebastian Huber8-14/+14
Rename PER_CPU_WATCHDOG_MONOTONIC to PER_CPU_WATCHDOG_TICKS. Add new PER_CPU_WATCHDOG_MONOTONIC which is based on the system uptime (measured by timecounter). Close #3264.
2017-12-15posix: Remove unused global variableSebastian Huber1-2/+0
Update #2702. Update #2555.
2017-11-22INTERNAL_ERROR_POSIX_INIT_THREAD_ENTRY_IS_NULLSebastian Huber1-7/+1
Delete superfluous INTERNAL_ERROR_POSIX_INIT_THREAD_ENTRY_IS_NULL. Update #3243.
2017-11-22score: Simplify global constructionSebastian Huber1-22/+4
Update #3243.
2017-11-21posix: _POSIX_Threads_Get_sched_param_sporadic()Sebastian Huber2-8/+1
Remove api parameter to simplify the calling functions. Update #2514.
2017-11-09posix: Change created_with_explicit_schedulerSebastian Huber2-5/+5
Remove POSIX_API_Control::created_with_explicit_scheduler. Add Thread_Control::was_created_with_inherited_scheduler. This fixes also pthread_getattr_np() for Classic tasks. Update #2514.
2017-11-09posix: Remove POSIX_API_Control::schedpolicySebastian Huber6-24/+41
Use the thread CPU budget algorithm to determine the scheduler policy. This fixes also pthread_getschedparam() for Classic tasks. Update #2514.
2017-11-02posix: Use far future for very long timeoutsSebastian Huber2-22/+8
Close #3205.
2017-10-28posix: Fix pthread_create() with user stackSebastian Huber1-3/+11
In case the user provides a stack with address and size, then do not alter the stack size. Close #3211.
2017-10-24score: Move thread queue timeout handlingSebastian Huber20-529/+253
Update #3117. Update #3182.
2017-10-24score: Rename function threadq support functionSebastian Huber6-9/+6
Rename _Thread_queue_Context_set_do_nothing_enqueue_callout() into _Thread_queue_Context_set_enqueue_do_nothing_extra(). More _Thread_queue_Context_set_enqueue_*() functions will follow. Update #3117. Update #3182.
2017-10-24score: Rename _Watchdog_Ticks_from_*()Sebastian Huber1-2/+2
Rename _Watchdog_Ticks_from_*() to _Watchdog_Realtime_from_*(). This highlights that these routines are used for the CLOCK_REALTIME watchdogs (in contrast to CLOCK_MONOTONIC). Update #3117. Update #3182.
2017-10-24posix: Do not touch msg priority in case of errorSebastian Huber1-4/+4
2017-10-17posix: Simplify _POSIX_Threads_Create_extension()Sebastian Huber2-17/+4
Move unblocked signals initialization to pthread_create(). Update #2514.
2017-10-17posix: Remove POSIX_API_Control::schedparamSebastian Huber5-26/+43
Move sporadic server scheduler parameters to POSIX_API_Control::Sporadic. Remove redundant scheduler priority parameter. Update #2514.
2017-10-17posix: Move POSIX_API_Control::threadSebastian Huber1-2/+2
This member is only used by the sporadic server support. Update #2514.
2017-10-17posix: Fix _POSIX_Threads_Create_extension()Sebastian Huber2-2/+2
The thread POSIX API control must be fully initialized in _POSIX_Threads_Create_extension(), otherwise a pthread_setschedparam() is broken for all threads not created with pthread_create().
2017-10-17score: Rename _Watchdog_Per_CPU_insert_monotonic()Sebastian Huber1-1/+1
Rename _Watchdog_Per_CPU_insert_monotonic() in _Watchdog_Per_CPU_insert_ticks(). Update #3117. Update #3182.
2017-10-17score: Rename watchdog variantsSebastian Huber6-11/+11
Rename PER_CPU_WATCHDOG_RELATIVE in PER_CPU_WATCHDOG_MONOTONIC to highlight the corresponding POSIX CLOCK_MONOTONIC. Rename PER_CPU_WATCHDOG_ABSOLUTE in PER_CPU_WATCHDOG_REALTIME to highlight the corresponding POSIX CLOCK_REALTIME. Update #3117. Update #3182.
2017-10-12posix: Fix const qualifier warningSebastian Huber1-2/+4
Update #2514. Update #3179.
2017-10-12posix: Use right time format in adjtime()Sebastian Huber1-4/+5
Update #2740.
2017-10-11posix: Include missing <limits.h>Sebastian Huber1-0/+2
2017-10-11score: Remove CPU_set_ControlSebastian Huber2-2/+0
Use Processor_mask instead. Update #2514.
2017-10-11posix: Validate affinity sets by the schedulerSebastian Huber1-7/+2
Update #2514.
2017-10-10score: Add _Thread_queue_Dispatch_disable()Sebastian Huber2-6/+2
2017-10-10posix: Unconditional thread attribute supportSebastian Huber9-58/+64
Update #2514.
2017-10-10posix: Constify default thread processor affinitySebastian Huber1-17/+2
Set default thread processor affinity to all processors of the pre-allocated set. This allows to constify the _POSIX_Threads_Default_attributes. Update #2514.
2017-10-10posix: Simplify pthread_attr_setstack()Sebastian Huber2-15/+2
Simplify * pthread_attr_setstack(), and * pthread_attr_setstacksize(). Update #2514.
2017-10-09posix: Remove rtems_pthread_attribute_compare()Sebastian Huber1-93/+0
Update #2514. Close #3174.
2017-10-09posix: Simplify POSIX_API_ControlSebastian Huber10-45/+58
Return stack area via pthread_getattr_np(). Simplify * pthread_attr_setaffinity_np(), and * pthread_attr_getaffinity_np() and let the scheduler do the more sophisticated error checks. Make * pthread_setaffinity_np(), * pthread_getaffinity_np(), * pthread_attr_setaffinity_np(), and * pthread_attr_getaffinity_np() available in all configurations. Update #2514. Close #3145. Close #3168.
2017-10-09score: Use struct timespec for TODSebastian Huber3-4/+9
Use the timestamps only for uptime based values. Use struct timespec for the absolute time values (TOD). Update #2740.
2017-10-05posix: Implement self-contained POSIX mutexSebastian Huber8-226/+189
POSIX mutexes are now available in all configurations and no longer depend on --enable-posix. Update #2514. Update #3112.
2017-10-05posix: Implement self-contained POSIX condvarSebastian Huber7-174/+92
POSIX condition variables are now available in all configurations and no longer depend on --enable-posix. Update #2514. Update #3113.