Commit Graph
596 Commits
Author SHA1 Message Date
Joel Sherrill 65911c32fb made sure _Thread_Enable_dispatch is not invoked in cases
where _Objects_Get failed
1996-06-04 19:50:15 +00:00
Joel Sherrill 56bd4a361b made sure routines which called _Objects_Get also called
_Thread_Enable_dispatch.
1996-06-04 19:48:08 +00:00
Joel Sherrill 230a0dcbb5 added some of the required functionality to pthread_setschedparam and
pthread_getschedparam.
1996-06-04 19:44:16 +00:00
Joel Sherrill 3ff4688cdd clean up pass 1996-06-04 19:20:53 +00:00
Joel Sherrill 6b067c4eda renamed the local variable attrp to the_attr in pthread_create 1996-06-04 19:15:28 +00:00
Joel Sherrill 24adc5bc3d changed sched_rr_get_interval to use the interval to timespec routine. 1996-06-04 19:05:16 +00:00
Joel Sherrill c48e0ee2b8 added interpretation of scheduling policy and parameter information to
pthread_create

initial implementation of get/set id routines

better argument checking on scheduler functions.
1996-06-04 16:15:59 +00:00
Joel Sherrill 12c77ab080 added scheduling policy and parameter information 1996-06-04 16:14:55 +00:00
Joel Sherrill 8f85799226 added thread queue for list of threads waiting to join.
thread is added to join list in pthread_join.

all threads waiting on the join list are flushed when the thread exits.
1996-06-03 22:08:18 +00:00
Joel Sherrill 552a345d97 added thread queue for list of threads waiting to join. 1996-06-03 22:07:14 +00:00
Joel Sherrill e811d68705 deleted POSIX threads typedef masking Thread_Control
added initial version of pthread_detach and pthread_join
1996-06-03 21:06:51 +00:00
Joel Sherrill 4427a6492e deleted POSIX threads typedef masking Thread_Control 1996-06-03 21:06:12 +00:00
Joel Sherrill a26ee01ca4 nanosleep now fills in the time remaining structure. 1996-06-03 18:27:48 +00:00
Joel Sherrill 5b748a177d renamed _POSIX_Time_Spec_to_interval to _POSIX_Timespec_to_interval 1996-06-03 17:32:19 +00:00
Joel Sherrill 5ff991e8a5 created ptimer.c and moved the timer_* routines out of time.c into ptimer.c 1996-06-03 16:29:59 +00:00
Joel Sherrill a38283590c added constant for seconds between posix epoch (1970) and rtems epoch (1988).
Formerly this constant was in the file src/time.c.
1996-06-03 16:29:35 +00:00
Joel Sherrill 5e7b6272fc renamed _TOD_Ticks_since_boot as _Watchdog_Ticks_since_boot so the Watchdog
Handler could timestamp the starting and stopping of timers.  Since
TOD is built on top of Watchdog, this avoided a circular dependency.
1996-05-31 23:27:45 +00:00
Joel Sherrill c238a2189d added checks to validate values passed to set attribute routines 1996-05-31 21:40:48 +00:00
Joel Sherrill e72d995a80 moved sleep() from psignal.c to unistd.c
implemented sigemptyset() sigfillset(), sigaddset(), sigdelset(), and
sigismember().

added checks for valid attribute values to some of the pthread_attr_t sets.
1996-05-31 19:01:26 +00:00
Joel Sherrill b927fba1c4 commented out cancel handlers related items. 1996-05-31 18:59:57 +00:00
Joel Sherrill 5600661d6a First cut at implementing time, clock_gettime, clock_settime, clock_getres,
sleep, and nanosleep.  Does not yet support per process clock, per thread
clock, interruptible sleep (sleep/nanosleep), or time remaining on nanosleep.
1996-05-30 20:48:10 +00:00
Joel Sherrill dd32d883d7 posix initialization threads table was misnamed "posix initialization
tasks table"
1996-05-29 22:46:05 +00:00
Joel Sherrill 7f72217e97 comment clean up 1996-05-29 21:27:26 +00:00
Joel Sherrill 2a98af841e types.c: spacing
psignal.c: kill recognizes SIGABRT and exits to prevent asserts from
recursively occurring because kill was not implemented and asserted.
1996-05-29 21:02:20 +00:00
Joel Sherrill cfcfdf0585 added pthread_exit
first posix thread ran
1996-05-29 20:55:05 +00:00
Joel Sherrill 5e0efa2b3a cleaned up spacing and parentheses 1996-05-29 20:50:52 +00:00
Joel Sherrill ece8c9abd3 first cut at pthread_create 1996-05-29 19:28:01 +00:00
Joel Sherrill 9c877c0df6 addressed minimum stack size attribute.
There is a potential problem if setting PTHREAD_STACK_MIN to 0 does not
work with all applications since it is in limit.h over in newlib.  There
is a potential build order issue with newlib needing to know the rtems
cpu dependent stack size minimum.
1996-05-29 18:46:46 +00:00
Joel Sherrill 613cff6f58 removed all ifdef's on NOT_IMPLEMENTED. 1996-05-29 16:54:52 +00:00
Joel Sherrill e941ea131d added entry point for posix initialization threads to the posix initialization
threads table structure
1996-05-29 16:54:24 +00:00
Joel Sherrill 974ff40e57 renamed signal.c to psignal.c to avoid naming problems.
added mp stubs to cond.c and mutex.c to eliminate link errors.

added pthread_exit to pthread.c
1996-05-29 16:04:31 +00:00
Joel Sherrill c627b2a3a1 split the inclusion of "EXTERN" data based on whether it was sapi,
score, rtems api, or posix api related.
1996-05-28 21:40:52 +00:00
Joel Sherrill 5a18e047ac added initial set of api extension callouts 1996-05-28 19:28:32 +00:00
Joel Sherrill 47d6b1400f commented out interrupt support 1996-05-28 16:32:55 +00:00
Joel Sherrill 8165b48f51 comment cleanup 1996-05-28 16:16:28 +00:00
Joel Sherrill 52d9e4d1ac added maximum keys 1996-05-28 16:16:11 +00:00
Joel Sherrill e6d4b1d086 added initial posix configuration support 1996-05-28 13:13:34 +00:00
Joel Sherrill 568ebf32f4 updates to fix typos 1996-05-24 19:32:37 +00:00
Joel Sherrill f4719d5aaf These files have been modified in the initial pass at getting the portion
of the POSIX API necessary to support the GNAT runtime to initially compile.
We now have verified that the specifications for the necessary routines
are correct per the POSIX standards we have.
1996-05-22 22:32:39 +00:00
Joel Sherrill 05195890d7 These files have been modified in the initial pass at getting the portion
of the POSIX API necessary to support the GNAT runtime to initially compile.
We now have verified that the specifications for the necessary routines
are correct per the POSIX standards we have.

The removed files were moved to newlib as they were duplicates of files
already included there.
1996-05-22 22:31:51 +00:00
Joel Sherrill 92262ab412 fixed typo 1996-05-10 20:23:27 +00:00
Joel Sherrill 67d224af9e added correct use of _Thread_queue_Enter_critical_section 1995-12-08 21:06:15 +00:00
Joel Sherrill 8d0b7d9643 Insert mode argument to _Watchdog_Insert removed. Now are watchdog timers
are automatically activated upon insertion.
1995-12-01 22:03:55 +00:00
Joel Sherrill 97005786d8 SPARC port passes all tests 1995-10-30 21:54:45 +00:00
Joel Sherrill eb5a7e07df fixed missing CVS IDs 1995-10-06 20:48:38 +00:00
Joel Sherrill 5e9b32b439 posix support initially added 1995-09-26 19:27:15 +00:00