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
Joel Sherrill
7fc3029a59
added prototype for manager initialization routine.
1996-06-13 16:39:28 +00:00
Joel Sherrill
da4b6e88ed
use exit() from newlib by default.
1996-06-12 22:50:03 +00:00
Joel Sherrill
2e0ebd11ad
added initialization of posix signal manager.
1996-06-12 22:49:33 +00:00
Joel Sherrill
281ad526b6
basic kill() which send a signal to pthread_self() appears to work.
1996-06-12 22:49:14 +00:00
Joel Sherrill
4a1bc34b8f
added waiting for signal state.
1996-06-12 17:45:34 +00:00
Joel Sherrill
2291b71654
initial implementation of blocking signal routines -- sigwait, sigwaitinfo,
...
sigtimedwait, sigsuspend, and pause.
1996-06-12 17:45:01 +00:00
Joel Sherrill
937808f500
added comment to make sure we add unblock of thread
1996-06-11 22:55:39 +00:00
Joel Sherrill
ea1a5bef17
first attempt at adding algorithm to select the thread which will
...
receive a process-directed signal.
1996-06-11 22:52:42 +00:00
Joel Sherrill
20d099eabd
deleted field for signals_global_pending.
1996-06-11 22:51:59 +00:00
Joel Sherrill
c8f5ab5d2e
tested blocking a signal, sending it to self, then unblocking it.
...
make minimum stack size for posix threads double that of the cpu's minimum
requirement.
1996-06-11 20:43:55 +00:00
Joel Sherrill
12aeff91fe
Interruptible by signals state was added to the STATES_BLOCKED set. It
...
can not be part of the locally blocked set since it by itself does not
indicate that the thread is blocked.
1996-06-11 16:03:15 +00:00
Joel Sherrill
98ed15e30f
Basic signal functionality appears to work. pthread_kill() can successfully
...
send signals to the current thread or to another blocked thread. nanosleep()
can be interrupted by a signal and return the time remaining.
Post switch extension added to dispatch posix signal handlers.
1996-06-11 16:01:37 +00:00
Joel Sherrill
d0baf81b2f
new file.
1996-06-11 16:00:06 +00:00
Joel Sherrill
494740cb7f
added psignal.h
1996-06-10 21:04:14 +00:00
Joel Sherrill
0f63c8627e
added code to _Thread_Clear_state to check if the state was not currently set.
1996-06-10 20:47:56 +00:00
Joel Sherrill
fdec30ba62
first attempt at the routine which vectors signals.
1996-06-10 20:47:23 +00:00
Joel Sherrill
d03f192a21
*** empty log message ***
1996-06-10 20:46:36 +00:00
Joel Sherrill
81daab3e6b
added states for "join at exit" and "interruptible by signal"
1996-06-07 15:22:19 +00:00
Joel Sherrill
05ce4e097a
changed code which set errno and then returned -1 to use the macro
...
set_errno_and_return_minus_one.
1996-06-07 15:21:27 +00:00
Joel Sherrill
895efd9edc
key destructor is now run at correct point in pthread_exit() sequence and
...
should be correct for other apis as well.
missing page numbers added on some references.
initial attempt at sig_procmask() and pthread_sigmask().
1996-06-07 13:54:23 +00:00
Joel Sherrill
fce2e9dab3
in newlib now
1996-06-06 21:27:33 +00:00
Joel Sherrill
782bdfd125
Removed assert's from routines which return the error ENOSYS.
1996-06-06 19:09:27 +00:00
Joel Sherrill
09b1f1ad2c
patch from Tony Bennett on the ifdef for O_NDELAY
1996-06-06 17:57:39 +00:00
Joel Sherrill
e754dd1df9
process oriented scheduler routines now return ENOSYS
1996-06-06 17:54:37 +00:00
Joel Sherrill
5d9cb7e00f
removed timer_getoverrun() since it was also in ptimer.c
1996-06-06 17:24:44 +00:00
Joel Sherrill
0207c55825
Made the implementation of pthread_equal conditional on RTEMS_DEBUG. If
...
RTEMS is built for debug, then every possible effort is made to validate
the two ids. Otherwise, a simple comparison is performed.
1996-06-06 15:36:18 +00:00
Joel Sherrill
65a5c1b192
completed pthread_setschedparam.
1996-06-06 15:32:49 +00:00