… | |
… | |
206 | act.sa_flags = SA_RESETHAND; |
206 | act.sa_flags = SA_RESETHAND; |
207 | act.sa_handler = sigterm_handler; sigaction (SIGINT , &act, NULL); |
207 | act.sa_handler = sigterm_handler; sigaction (SIGINT , &act, NULL); |
208 | act.sa_handler = sigterm_handler; sigaction (SIGTERM, &act, NULL); |
208 | act.sa_handler = sigterm_handler; sigaction (SIGTERM, &act, NULL); |
209 | } |
209 | } |
210 | |
210 | |
211 | struct Xob {//D |
|
|
212 | void wcbx () |
|
|
213 | { |
|
|
214 | printf ("wcbx %p\n", pthread_self()); |
|
|
215 | } |
|
|
216 | void dcbx () |
|
|
217 | { |
|
|
218 | printf ("dcbx %p\n", pthread_self()); |
|
|
219 | } |
|
|
220 | }; |
|
|
221 | |
|
|
222 | int |
211 | int |
223 | main (int argc, char **argv, char **envp) |
212 | main (int argc, char **argv, char **envp) |
224 | { |
213 | { |
225 | ERR_load_crypto_strings (); // we have the RAM |
214 | ERR_load_crypto_strings (); // we have the RAM |
226 | |
215 | |