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
685f4d65d4
sleep moved into newlibc.c so the sleep.o object would not be in the library.
...
This implementation of sleep is now only used when the POSIX API is not
configured.
1996-06-03 18:59:24 +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
f6e6ed8464
changed so this file is usable from assembly files.
...
no longer uses efi332.h
1996-06-03 15:49:22 +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
c832429dcd
added nanoseconds per second constant
1996-05-31 19:02:13 +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
7c55e065f9
Added nanoseconds constant
1996-05-30 20:48:33 +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
b169590e9a
added dummy versions of __kill and __getpid which assert(0) so that
...
applications which use only the rtems api (i.e. not the posix api) will
link.
1996-05-30 20:34:46 +00:00
Joel Sherrill
be1c11edab
tests now specify whether using posix initialization threads table
...
or rtems initialization table in configuration table
1996-05-29 22:48:26 +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
5240c71c52
fixed support for posix initialization threads table
1996-05-29 20:58:45 +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
d835a35cbd
spacing
1996-05-29 19:28:15 +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
98849f4487
*** empty log message ***
1996-05-29 16:55:05 +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
d9a0689e35
Addressed RTEMS API initialization tasks table in a system without
...
RTEMS initialization tasks.
1996-05-29 16:07:21 +00:00
Joel Sherrill
99f9dffaf4
Added default POSIX API configuration table.
1996-05-29 16:05:28 +00:00
Joel Sherrill
019bce7917
It is now not an error to have 0 RTEMS initialization tasks since you could
...
create POSIX initialization threads.
1996-05-29 16:05:06 +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
c6fa38c006
added maximum keys
1996-05-28 19:29:51 +00:00
Joel Sherrill
7640525da4
added enumerated constant for the POSIX API as an error source
1996-05-28 19:29:02 +00:00
Joel Sherrill
5a18e047ac
added initial set of api extension callouts
1996-05-28 19:28:32 +00:00
Ralf Corsepius
bc69a8591f
Import from zlib-1.2.4
1996-05-28 17:13:29 +00:00
Ralf Corsepius
2b4683a156
This commit was generated by cvs2svn to compensate for changes in r311,
...
which included commits to RCS files with non-trunk default branches.
1996-05-28 17:13:29 +00:00
Joel Sherrill
962c9b65f2
new file
1996-05-28 16:33:11 +00:00
Joel Sherrill
47d6b1400f
commented out interrupt support
1996-05-28 16:32:55 +00:00
Joel Sherrill
da33d26358
added ifndef's for the POSIX maximum field in the POSIX api configuration table
1996-05-28 16:18:34 +00:00
Joel Sherrill
d4b4487779
added posix api initialization call to init.c
...
deleted a blank line in rtemsapi.c
1996-05-28 16:17:01 +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
2eba45de91
made posix configuration information conditional so configurations wanting
...
only the rtems api don't have to include it.
1996-05-28 14:16:45 +00:00
Joel Sherrill
cb9637246a
changed call to _ISR_Enable() to _ISR_Set_level() in _Thread_Handler.
...
_ISR_Enable() takes the magic cookie expected by the cpu's status register
instead of a simple isr level.
1996-05-28 13:24:58 +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
8b2ecf8546
updates from Tony Bennett
1996-05-23 15:37:38 +00:00