| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
| |
* posix/Makefile.am: Unconditionally build
posix/src/sigaddset.c, posix/src/sigdelset.c,
posix/src/sigfillset.c, posix/src/sigemptyset.c,
posix/src/sigismember.c.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* posix/include/rtems/posix/sigset.h: New (Split out from
posix/include/rtems/posix/psignal.h).
|
| |
|
|
|
|
| |
* posix/Makefile.am: Unconditionally build fork.c, vfork.c.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* posix/src/alarm.c: If 0 seconds do not insert timer.
* rtems/src/regionextend.c: Eliminate warning. Use default else.
|
|
|
|
|
|
|
| |
* posix/include/rtems/posix/threadsup.h, posix/src/cancel.c,
posix/src/canceleval.c: Make psxcancel run again.
_POSIX_Thread_Exit() can be called on running thread or another
thread when it is cancelled.
|
|
|
|
|
|
|
|
| |
* posix/src/mqueuetimedreceive.c, posix/src/mqueuetimedsend.c,
posix/src/mutextimedlock.c, posix/src/prwlocktimedrdlock.c,
posix/src/prwlocktimedwrlock.c, posix/src/semtimedwait.c: Switch from
switch to if's because only one value needed to be tested. This
shrinks the code and makes it easier to do coverage analysis on.
|
|
|
|
|
|
|
| |
* posix/include/rtems/posix/psignal.h: Add extern for ualarm timer.
* posix/src/alarm.c, posix/src/ualarm.c: Change from switch to if since
many enumerated values have no action.
* posix/src/psignal.c: Initialize ualarm and alarm timers.
|
|
|
|
|
|
| |
* libmisc/capture/capture.c, posix/src/pthread.c, rtems/src/tasks.c,
score/include/rtems/score/userext.h: Eliminate use of deprecated
rtems_extension. Re-add prototype for _User_extensions_Add_API_set.
|
|
|
|
|
| |
* posix/include/rtems/posix/threadsup.h: Add no return atrribute to
_POSIX_Thread_Exit().
|
|
|
|
|
|
| |
* libcsupport/src/getpagesize.c, posix/Makefile.am: Eliminate one copy
of getpagesize() and make it return an int.
* posix/src/getpagesize.c: Removed.
|
|
|
|
|
| |
* posix/Makefile.am: Add getpagesize(). Now required by GNU Ada.
* posix/src/getpagesize.c: New file.
|
|
|
|
|
| |
* posix/src/nanosleep.c: Disable EINTR case when POSIX is disabled
because it cannot happen.
|
|
|
|
|
|
| |
* posix/Makefile.am, posix/src/clockgetres.c: Add clockgetres.c to set
of clock and delayt methods built when POSIX threads are disabled.
Ensure it builds when POSIX is disabled.
|
|
|
|
|
|
|
|
| |
* posix/src/pthread.c: Address sporadic server edge cases. Do not
change priority if thread is holding a priority ceiling or
inheritance mutex. Do not change it if it looks like the thread has
manually changed its priority. Style cleanup on file with new
comments added.
|
|
|
|
|
|
|
| |
* libcsupport/Makefile.am, libcsupport/preinstall.am,
posix/Makefile.am, posix/preinstall.am, rtems/Makefile.am,
rtems/preinstall.am, score/Makefile.am, score/preinstall.am: Revert
modifications accidentally committed.
|
|
|
|
|
|
|
|
| |
* libcsupport/Makefile.am, posix/Makefile.am, rtems/Makefile.am,
sapi/Makefile.am, score/Makefile.am,
score/include/rtems/score/heap.h: HEAP_BLOCK_USED_OVERHEAD was under
by one uint32_t. This showed up in the unlimited and heapwalk tests
on ARM targets.
|
| |
|
|
|
|
|
|
|
| |
* posix/src/mqueuecreatesupp.c, posix/src/mqueuenametoid.c,
posix/src/mqueueopen.c, posix/src/semaphorecreatesupp.c: Tinker with
error handling for name too long. Use strnlen to ensure we do not run
off the end of the maximum length string.
|
|
|
|
|
| |
* posix/src/sigaction.c: _POSIX_signals_Clear_process_signals now takes
signal number not mask.
|
|
|
|
| |
* posix/src/psignalclearsignals.c: Add comments.
|
|
|
|
|
|
| |
* posix/src/mqueuecreatesupp.c: Now that the number of POSIX message
queues and message queue descriptors are independently configured,
this code is reachable.
|
|
|
|
|
|
|
| |
* posix/include/rtems/posix/psignal.h, posix/src/mqueuecreatesupp.c,
posix/src/psignalclearprocesssignals.c,
posix/src/psignalclearsignals.c: Minor rework to ease coverage
analysis.
|
|
|
|
|
|
| |
* posix/include/rtems/posix/config.h, posix/src/mqueue.c,
sapi/include/confdefs.h: Add configuration of posix message queue
file descriptors as separate entity.
|
|
|
|
|
| |
* posix/src/psignal.c: Simplify implementation to ease coverage
analysis.
|
|
|
|
|
|
|
| |
* posix/src/psxtransschedparam.c, posix/src/pthread.c: Add error checks
for 0 time on sporadic scheduler replenish period and initial budget.
This avoids having to correct for it in the TSR, so we can eliminate
the check for ticks == 0 there.
|
|
|
|
|
| |
* posix/src/mqueuedeletesupp.c: Mark unreachable section as
RTEMS_DEBUG.
|
|
|
|
|
|
|
|
| |
* posix/src/killinfo.c: Add _Thread_Enable_dispatch() on EAGAIN
error case. Add debug print on loop processing threads waiting
for signal.
* posix/src/psignal.c: When the sigwait() Thread Queue processing loop
was changed to FIFO, I forgot to change the initialization to match.
|
|
|
|
|
| |
* posix/src/killinfo.c: Rework to make easier to analyze for code
coverage and to simplify so it is easier to analyze for correctness.
|
|
|
|
| |
* posix/src/killinfo.c: Clean up. Avoid NULL pointer case.
|
|
|
|
|
|
| |
* posix/include/semaphore.h, posix/include/rtems/posix/semaphore.h:
Move SEM_FAILED from private file to public file since it is defined
by POSIX.
|
|
|
|
|
|
|
|
| |
* posix/include/rtems/posix/key.h, posix/src/keycreate.c,
posix/src/keydelete.c, posix/src/keyrundestructors.c: Restructure a
bit to make it easier to do coverage analysis. Eliminate is_active
member of control structure because it was redundant with very the
key object was open or closed.
|
|
|
|
|
|
|
| |
* posix/include/rtems/posix/cancel.h, posix/src/cancel.c,
posix/src/canceleval.c, posix/src/setcancelstate.c,
posix/src/setcanceltype.c: Fix a minor bug in the previous
modification which resulted in psxcancel failing.
|
|
|
|
|
|
|
|
|
| |
* posix/Makefile.am, posix/include/rtems/posix/cancel.h,
posix/src/cancel.c, posix/src/setcancelstate.c,
posix/src/setcanceltype.c: Add
_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch method to
avoid duplication of code and ease coverage analysis.
* posix/src/canceleval.c: New file.
|
|
|
|
|
| |
* posix/src/mutexattrgettype.c: Restructure a bit to make code coverage
analysis easier.
|
|
|
|
| |
* ChangeLog, posix/src/mutexsetprioceiling.c: Remove warning.
|
|
|
|
|
|
|
| |
* posix/src/mutexsetprioceiling.c: Restructure to eliminate code
paths which are unreachable. Also add more comments.
* score/src/coremutexsurrender.c: Mark some code as RTEMS_DEBUG only
since it cannot be hit unless coremutexseize.c is broken.
|
|
|
|
|
| |
* posix/src/mutexget.c: Restructure to improve ability to do coverage
analysis.
|
|
|
|
|
| |
* posix/src/psxtransschedparam.c: Restructure to avoid untestable code
being generated by switch.
|
| |
|