Deleted Added
full compact
thr_sig.c (17706) thr_sig.c (22315)
1/*
2 * Copyright (c) 1995 John Birrell <jb@cimlogic.com.au>.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 83 unchanged lines hidden (view full) ---

92 */
93 pthread->sigpend[sig] += 1;
94 if (pthread->state == PS_WAIT_WAIT) {
95 /* Reset the error: */
96 /* There should be another flag so that this is not required! ### */
97 _thread_seterrno(pthread, 0);
98
99 /* Change the state of the thread to run: */
1/*
2 * Copyright (c) 1995 John Birrell <jb@cimlogic.com.au>.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 83 unchanged lines hidden (view full) ---

92 */
93 pthread->sigpend[sig] += 1;
94 if (pthread->state == PS_WAIT_WAIT) {
95 /* Reset the error: */
96 /* There should be another flag so that this is not required! ### */
97 _thread_seterrno(pthread, 0);
98
99 /* Change the state of the thread to run: */
100 pthread->state = PS_RUNNING;
100 PTHREAD_NEW_STATE(pthread,PS_RUNNING);
101 }
102 }
103
104 /*
105 * Go through the file list and set all files
106 * to non-blocking again in case the child
107 * set some of them to block. Sigh.
108 */

--- 59 unchanged lines hidden ---
101 }
102 }
103
104 /*
105 * Go through the file list and set all files
106 * to non-blocking again in case the child
107 * set some of them to block. Sigh.
108 */

--- 59 unchanged lines hidden ---