diff options
author | Rob Browning <rlb@defaultvalue.org> | 2025-01-22 12:55:06 -0600 |
---|---|---|
committer | Rob Browning <rlb@defaultvalue.org> | 2025-01-22 19:24:07 -0600 |
commit | 63756efbc5d015a17627fdc446992fc0f7aa6a49 (patch) | |
tree | a423ed0076f0ec9179eaa97e100b242f4baffe95 /lib/recvfrom.c | |
parent | 4a6347c3718478e3a41647f4aad71e2df6c024de (diff) | |
download | guile-63756efbc5d015a17627fdc446992fc0f7aa6a49.tar.gz |
Don't hold lock during scm_async_tick in readdir and ttyname
Only hold scm_i_misc_mutex while making the C calls. This also avoids
the need for a dynamic-wind. Add SCM_I_LOCKED_SYSCALL (similar to
SCM_SYSCALL) to handle the locking and EINTR loop.
libguile/filesys.c (scm_readdir): rely on SCM_I_LOCKED_SYSCALL to limit
locking.
libguile/filesys.c (scm_ttyname): rely on SCM_I_LOCKED_SYSCALL to limit
locking.
libguile/syscalls.h: add SCM_I_LOCKED_SYSCALL.
Diffstat (limited to 'lib/recvfrom.c')
0 files changed, 0 insertions, 0 deletions