Skip to content

Commit 3dbb586

Browse files
authored
Apply suggestions from code review
1 parent 689e851 commit 3dbb586

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/io/event/interrupt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ void IO_Event_Interrupt_close(struct IO_Event_Interrupt *interrupt)
9292

9393
void IO_Event_Interrupt_signal(struct IO_Event_Interrupt *interrupt)
9494
{
95-
// This function can be used to wake up the selector when a mutex is unlocked. Because that can happen in some contexts where `errno` is not preserved, we save and restore it. We should probably fix the root cause of this issue, by ensuring that `errno` is saved immediately after the system call that can set it.
95+
// This function can be used to wake up the selector when a mutex is unlocked. Because that can happen in some contexts where `errno` should be preserved, we save and restore it. We should probably fix the root cause of this issue, by ensuring that `errno` is saved immediately after the system call that can set it.
9696
int saved_errno = errno;
9797

9898
ssize_t result = write(interrupt->descriptor[1], ".", 1);

0 commit comments

Comments
 (0)