Commit Graph

7578 Commits

Author SHA1 Message Date
Joel Sherrill
e399e18241 updated to reflect latest gnu tools versions 1996-07-02 17:47:51 +00:00
Joel Sherrill
b7acc57fef updated to reflect 3.5.17 1996-07-02 17:46:34 +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
c486e917b3 changed reboot to a macro to avoid the "noreturn returns" warning. 1996-06-18 19:06:19 +00:00
Joel Sherrill
7d74395fe9 corrected typo 1996-06-18 16:43:12 +00:00
Joel Sherrill
f88310da6c initial modifications to test sigtimedwait. 1996-06-15 19:56:19 +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
36197e539e first successful run. Has test cases for a simple sigtimedwait() timeout,
a sigtimewait() timeout because it was pthread_kill'ed with a blocked
signal, and a sigtimedwait which is satisfied.
1996-06-13 22:16:08 +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
022923e468 Added _Thread_Do_post_task_switch_extension variable. 1996-06-13 16:45:51 +00:00
Joel Sherrill
728b5a7bb4 Added a macro for "empty_line" which will go between test cases. 1996-06-13 16:45:11 +00:00
Joel Sherrill
ce0f7d95d6 Added more test cases for kill() and alarm(). kill() now can unblock a
thread which has the signal unblocked.
1996-06-13 16:44:46 +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
1094754fd9 new files 1996-06-12 22:52:13 +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
699fe08a25 Added test case which blocks a signal, sees what signals are pending, sends
that same signal to the executing thread, sees what is pending, then unblocks
that signal so the handler can execute.
1996-06-11 20:46:13 +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
fb39f191da modified to test pthread_kill() to self and pthread_kill() to a blocked
thread.  nanosleep() can be interrupted and return the time remaining.
1996-06-11 16:04:25 +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
1ba858d7ea new files.
This test does a basic checkout of signals with a thread-directed signal
(pthread_kill()) used to interrupt a nanosleep().
1996-06-10 20:51:31 +00:00
Joel Sherrill
1e608b0f5a new file 1996-06-10 20:49:21 +00:00
Joel Sherrill
893103c3c2 moved the time macros to pmacros.h. 1996-06-10 20:49:08 +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
fa03f083a3 new file 1996-06-07 15:20:55 +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
0a359a7af5 added include of <sched.h> and fixed warnings 1996-06-06 19:16:20 +00:00