summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix/src/pthread.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-06-11 22:52:42 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-06-11 22:52:42 +0000
commitea1a5bef1742628922ab2b17b6e610e33bd78981 (patch)
tree2f5b4b2a307b5a2861c845df74b377b7888ffc42 /c/src/exec/posix/src/pthread.c
parentdeleted field for signals_global_pending. (diff)
downloadrtems-ea1a5bef1742628922ab2b17b6e610e33bd78981.tar.bz2
first attempt at adding algorithm to select the thread which will
receive a process-directed signal.
Diffstat (limited to 'c/src/exec/posix/src/pthread.c')
-rw-r--r--c/src/exec/posix/src/pthread.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/c/src/exec/posix/src/pthread.c b/c/src/exec/posix/src/pthread.c
index a6d87bb463..957c2a717e 100644
--- a/c/src/exec/posix/src/pthread.c
+++ b/c/src/exec/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.
*/