Commit Graph
5440 Commits
Author SHA1 Message Date
Joel Sherrill b2e8026e64 fixed spacing 1996-08-13 15:43:12 +00:00
Joel Sherrill f48c906895 removed errors for TOD not set yet.
made nanosleep return -1/EINTR for being interrupted for a signal.
1996-08-13 14:24:00 +00:00
Joel Sherrill 1087564111 clock_getres: added error check for NULL pointer being passed in. 1996-08-12 20:59:41 +00:00
Joel Sherrill 5f08fd6179 nanosleep: verify rqtp parameter is non-NULL.
nanosleep: return 0 time remaining for a yield case.
1996-08-12 19:55:09 +00:00
Joel Sherrill 40cfab477e time: It is not an error if the TOD is not set. 1996-08-12 19:19:03 +00:00
Mark Johannes 9b77fee2bc Wait_support: removed the calls to mutex core to posix status codes 1996-08-12 19:00:12 +00:00
Mark Johannes 3b97b7a083 mutex.h: removes the promotion of core status code to POSXI status codes 1996-08-12 18:58:12 +00:00
Joel Sherrill 1402ee257d fixed spacing ; moved a dummy MP support routine to clean up printout. 1996-08-12 18:56:04 +00:00
Joel Sherrill c7a9c6675e _POSIX_Mutex_Get: made null id an error 1996-08-12 18:06:27 +00:00
Joel Sherrill ccdf4c579f pthread_mutex_getprioceiling: added error check for null old_ceiling
pthread_mutex_setprioceiling: added comment indicating an error was
impossible to generate.
1996-08-12 18:05:47 +00:00
Mark Johannes b1af454f18 mutex.h: promoted out _POSIX_Mutex_From_core_mutex_status 1996-08-12 17:41:37 +00:00
Mark Johannes af04a79173 _POSIX_Condition_variables_Wait_support: added _POSIX_Mutex_From_core_mutex_status for the two calls to the mutex manager 1996-08-12 17:40:56 +00:00
Mark Johannes cdcea6ceb6 _POSIX_Condition_variables_Signal_support: added setting mutex back to NULL
if the queue has been emptied of waiting tasks.

_POSIX_Condition_variables_Wait_support: added error check for different mutexesfor the same condition variable.  Also added _Thread_queue_Enter_critical_section
1996-08-12 17:21:04 +00:00
Joel Sherrill f126ae2a86 pthread_mutexattr_setprioceiling: fixed typo 1996-08-12 17:04:13 +00:00
Joel Sherrill db8e901180 pthread_mutexattr_setprioceiling: valid priority ceiling check looked at
value in attribute structure instead of passed in priority
1996-08-12 17:02:39 +00:00
Joel Sherrill 684c3c49c3 pthread_mutexattr_getprotocol: added check for attribute structure being
initialized
1996-08-12 16:29:14 +00:00
Joel Sherrill b9444fb905 added code to catch NULL pointers for return values passed to get routines 1996-08-09 19:58:58 +00:00
Joel Sherrill 8699a7008e sched_yield: was not invoking the dispatcher. 1996-08-09 18:45:10 +00:00
Joel Sherrill d858fdbbaf merged remote object id and invalid id error cases. 1996-08-09 17:30:13 +00:00
Mark Johannes 2a9a479d90 CORE_mutex_Status: added CORE_MUTEX_STATUS_CEILING_VIOLATED to enum 1996-08-08 18:27:11 +00:00
Mark Johannes 567ac4579d _POSIX_signals_Clear_signals: added this routine
_POSIX_signals_Get_highest: changed initial starting signal to SIGHUP, still needs SIGFIRSTNOTRT
1996-08-08 18:24:29 +00:00
Joel Sherrill f55d898c6b added ss_high_priority field to support sporadic server. 1996-08-08 16:51:14 +00:00
Mark Johannes 6b722e2747 _MPCI_Register_packet_processor: Changed prototype of fist parameter name to the_class 1996-08-08 12:32:50 +00:00
Mark Johannes 3fd3da452b _MPCI_Register_packet_processor: changes first parameter type to MP_packet_Classes 1996-08-08 12:31:01 +00:00
Joel Sherrill 2014063fec sporadic server debugged and working. This required minor changes in all
sporadic server related routines.
1996-08-07 22:06:08 +00:00
Mark Johannes a14684c356 _POSIX_Mutex_From_core_mutex_status: added priority ceiling violation case 1996-08-07 20:58:59 +00:00
Mark Johannes cc757febff _CORE_Mutex_seize: added checks for priority ceiling violation, also added
checks to ensure priority was not lowered.
1996-08-07 20:57:28 +00:00
Joel Sherrill 4bab8e2d35 get_errno: no longer needed by gnat runtime 1996-08-06 17:45:12 +00:00
Mark Johannes 0f99198845 _CORE_mutex_Seize: added change priority case if the mutex was obtained. 1996-08-06 16:26:11 +00:00
Joel Sherrill a61f1a4682 _POSIX_Threads_Delete_extension: reorder to eliminate use of local pointer
variable before set.

pthread_join: using local variable so user can pass NULL pointer as argument
1996-08-06 16:24:41 +00:00
Mark Johannes 06883e131c POSIX_Mutex_Default_attributes: changed prio_ceiling to maximum priority 1996-08-06 16:24:06 +00:00
Joel Sherrill b521ae2fa7 pthread_getspecific: use local variable so references to tcb are completed
before enabling dispatching
1996-08-06 16:23:09 +00:00
Joel Sherrill 22b4b2e0d2 added page delimiters for comment blocks 1996-08-01 19:24:57 +00:00
Mark Johannes adae080a0e Fixed default vectors initialization, sigaction which had a redundant
if clause for DFT action.
1996-07-15 14:02:14 +00:00
Joel Sherrill 69c9543543 basic test cases passed 1996-07-04 18:09:23 +00:00
Joel Sherrill e21cf313ca another attempt at the rtems_posix_api ifdef 1996-07-03 14:24:07 +00:00
Joel Sherrill 503dc05890 switched from "STATIC INLINE" to "RTEMS_INLINE_ROUTINE" 1996-07-03 14:20:03 +00:00
Joel Sherrill df8d1440d1 *** empty log message *** 1996-07-02 18:13:59 +00:00
Joel Sherrill 8d7a1d76e2 minor changes to insure the few posix-ish routines needed in non-posix
mode have stubs.
1996-06-18 19:06:58 +00:00
Joel Sherrill 108ef35570 initial modifications to support sigtimedwait. 1996-06-15 19:55:39 +00:00
Joel Sherrill 7f13a93288 fields for init threads stuff said tasks. 1996-06-14 15:49:31 +00:00
Mark Johannes 9e28da4165 sigtimedwait passes initial test cases of timeout and simple satisfaction. 1996-06-13 22:16:47 +00:00
Mark Johannes 4334949d02 added maximum_queued_signals to _POSIX_Default_configuration 1996-06-13 21:01:21 +00:00
Joel Sherrill eb0551f312 added posix configuration parameter maximum_queued_signals. 1996-06-13 20:47:31 +00:00
Joel Sherrill 3a075f5d18 now passing maximum_queued_signals to posix signals manager initialization 1996-06-13 20:46:43 +00:00
Joel Sherrill c53cfd0f2d added queued signals and cleaned up setting of process wide signals so
it occurs in only one place.
1996-06-13 20:46:15 +00:00
Joel Sherrill 25a882a611 config.h: added maximum_queued_signals.
psignal.h: fixed typo.
1996-06-13 20:45:38 +00:00
Joel Sherrill 1b17790ccd Added code so post context switch extensions can be run on every context
switch.  This was needed to support process wide signals.
1996-06-13 16:43:39 +00:00
Joel Sherrill e89f8cacbf Added include so _POSIX_signals_Manager_initialization is prototyped. 1996-06-13 16:42:51 +00:00
Joel Sherrill b85649c47b basic test cases for kill() and alarm().
kill() in particular needs more test cases for full coverage.  The search
for a thread interested in this signal has a lot of paths.
1996-06-13 16:42:21 +00:00