mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-03-15 09:20:23 -07:00
threads.d: fixed typos in the definition of mp_restore_signals.
This commit is contained in:
parent
2b9b19b669
commit
31a2348110
1 changed files with 3 additions and 3 deletions
|
|
@ -466,12 +466,12 @@ mp_get_sigmask(void)
|
|||
}
|
||||
|
||||
static cl_object
|
||||
mp_set_sigmask(cl_object vector)
|
||||
mp_set_sigmask(cl_object data)
|
||||
{
|
||||
sigset_t *mask_ptr = (sigset_t*)data->vector.self.b8;
|
||||
if (pthread_sigmask(SIG_SETMASK, &mask_ptr, NULL))
|
||||
if (pthread_sigmask(SIG_SETMASK, mask_ptr, NULL))
|
||||
FElibc_error("MP:SET-SIGMASK failed in a call to pthread_sigmask", 0);
|
||||
@(return vector)
|
||||
@(return data)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue