I got the last commit back to front.

This commit is contained in:
John Birrell 1998-06-06 07:02:27 +00:00
parent 9c727d2ca9
commit 717d1611f4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=36694
3 changed files with 9 additions and 9 deletions

View File

@ -243,8 +243,10 @@ _thread_signal(pthread_t pthread, int sig)
sigaddset(&pthread->sigpend,sig);
/* Check if system calls are not restarted: */
if ((_thread_sigact[sig - 1].sa_flags & SA_RESTART) == 0) {
if ((_thread_sigact[sig - 1].sa_flags & SA_RESTART) != 0) {
/*
* System calls are flagged for restart.
*
* Process according to thread state:
*/
switch (pthread->state) {
@ -293,8 +295,6 @@ _thread_signal(pthread_t pthread, int sig)
}
} else {
/*
* System calls are flagged for restart.
*
* Process according to thread state:
*/
switch (pthread->state) {

View File

@ -243,8 +243,10 @@ _thread_signal(pthread_t pthread, int sig)
sigaddset(&pthread->sigpend,sig);
/* Check if system calls are not restarted: */
if ((_thread_sigact[sig - 1].sa_flags & SA_RESTART) == 0) {
if ((_thread_sigact[sig - 1].sa_flags & SA_RESTART) != 0) {
/*
* System calls are flagged for restart.
*
* Process according to thread state:
*/
switch (pthread->state) {
@ -293,8 +295,6 @@ _thread_signal(pthread_t pthread, int sig)
}
} else {
/*
* System calls are flagged for restart.
*
* Process according to thread state:
*/
switch (pthread->state) {

View File

@ -243,8 +243,10 @@ _thread_signal(pthread_t pthread, int sig)
sigaddset(&pthread->sigpend,sig);
/* Check if system calls are not restarted: */
if ((_thread_sigact[sig - 1].sa_flags & SA_RESTART) == 0) {
if ((_thread_sigact[sig - 1].sa_flags & SA_RESTART) != 0) {
/*
* System calls are flagged for restart.
*
* Process according to thread state:
*/
switch (pthread->state) {
@ -293,8 +295,6 @@ _thread_signal(pthread_t pthread, int sig)
}
} else {
/*
* System calls are flagged for restart.
*
* Process according to thread state:
*/
switch (pthread->state) {