summaryrefslogtreecommitdiff
path: root/libnetio
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-29 12:14:45 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-29 12:24:10 -0600
commitcd0b080d638005bff762f1f8cae9a6c76648265b (patch)
treef9b76002924a16afae66df3815d521f0e7b25efb /libnetio
parent6940b244de7c5048c55fc57ada93501c1be5ab20 (diff)
tidy, s/sighandler/intrhandler/
Diffstat (limited to 'libnetio')
-rw-r--r--libnetio/netio_posix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnetio/netio_posix.c b/libnetio/netio_posix.c
index 34f415d..54df412 100644
--- a/libnetio/netio_posix.c
+++ b/libnetio/netio_posix.c
@@ -40,7 +40,7 @@ struct netio_socket {
static struct netio_socket socket_table[CONFIG_NETIO_NUM_PORTS] = {0};
static void handle_sig_io(int sig __attribute__ ((unused)), siginfo_t *info, void *ucontext __attribute__ ((unused))) {
- cr_unpause_from_sighandler((cid_t)info->si_value.sival_int);
+ cr_unpause_from_intrhandler((cid_t)info->si_value.sival_int);
}
#if CONFIG_NETIO_ISLINUX
@@ -51,7 +51,7 @@ static void handle_sig_accept(int sig __attribute__ ((unused)), siginfo_t *info,
sock = &socket_table[i];
if (!sock)
return;
- cr_sema_signal(&sock->accept_waiters);
+ cr_sema_signal_from_intrhandler(&sock->accept_waiters);
}
#endif