OLD | NEW |
1 /* | 1 /* |
2 ** 2004 January 13 | 2 ** 2004 January 13 |
3 ** | 3 ** |
4 ** The author disclaims copyright to this source code. In place of | 4 ** The author disclaims copyright to this source code. In place of |
5 ** a legal notice, here is a blessing: | 5 ** a legal notice, here is a blessing: |
6 ** | 6 ** |
7 ** May you do good and not evil. | 7 ** May you do good and not evil. |
8 ** May you find forgiveness for yourself and forgive others. | 8 ** May you find forgiveness for yourself and forgive others. |
9 ** May you share freely, never taking more than you give. | 9 ** May you share freely, never taking more than you give. |
10 ** | 10 ** |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 pthread_join(aThread[i], 0); | 124 pthread_join(aThread[i], 0); |
125 } | 125 } |
126 if( !all_stop ){ | 126 if( !all_stop ){ |
127 printf("Everything seems ok.\n"); | 127 printf("Everything seems ok.\n"); |
128 return 0; | 128 return 0; |
129 }else{ | 129 }else{ |
130 printf("We hit an error.\n"); | 130 printf("We hit an error.\n"); |
131 return 1; | 131 return 1; |
132 } | 132 } |
133 } | 133 } |
OLD | NEW |