I got the last commit back to front.
This commit is contained in:
parent
9c727d2ca9
commit
717d1611f4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=36694
@ -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) {
|
||||
|
@ -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) {
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user