diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-06-11 22:52:42 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-06-11 22:52:42 +0000 |
commit | ea1a5bef1742628922ab2b17b6e610e33bd78981 (patch) | |
tree | 2f5b4b2a307b5a2861c845df74b377b7888ffc42 /cpukit/posix/src/pthread.c | |
parent | deleted field for signals_global_pending. (diff) | |
download | rtems-ea1a5bef1742628922ab2b17b6e610e33bd78981.tar.bz2 |
first attempt at adding algorithm to select the thread which will
receive a process-directed signal.
Diffstat (limited to '')
-rw-r--r-- | cpukit/posix/src/pthread.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cpukit/posix/src/pthread.c b/cpukit/posix/src/pthread.c index a6d87bb463..957c2a717e 100644 --- a/cpukit/posix/src/pthread.c +++ b/cpukit/posix/src/pthread.c @@ -938,6 +938,15 @@ int pthread_create( api->schedparam = schedparam; /* + * This insures we evaluate the process-wide signals pending when we + * first run. + * + * NOTE: Since the thread starts with all unblocked, this is necessary. + */ + + the_thread->do_post_task_switch_extension = TRUE; + + /* * POSIX threads are allocated and started in one operation. */ |