2 * Copyright 2007, Vasilis Kaoutsis, kaoutsis@sch.gr
3 * Distributed under the terms of the MIT License.
9 #include <symbol_versioning.h>
11 #include <signal_private.h>
15 __sigrelse_beos(int signal
)
17 // make an empty set and add the signal
18 sigset_t_beos tempSignalSet
= 0;
19 if (__sigaddset_beos(&tempSignalSet
, signal
) == -1)
22 // remove the signal from the calling process' signal mask
23 return __pthread_sigmask_beos(SIG_UNBLOCK
, &tempSignalSet
, NULL
);
28 __sigrelse(int signal
)
30 // make an empty set and add the signal
31 sigset_t tempSignalSet
= 0;
32 if (sigaddset(&tempSignalSet
, signal
) == -1)
35 // remove the signal from the calling process' signal mask
36 return sigprocmask(SIG_UNBLOCK
, &tempSignalSet
, NULL
);
40 DEFINE_LIBROOT_KERNEL_SYMBOL_VERSION("__sigrelse_beos", "sigrelse@", "BASE");
42 DEFINE_LIBROOT_KERNEL_SYMBOL_VERSION("__sigrelse", "sigrelse@@", "1_ALPHA4");