projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1fa44a7
)
helper_thread: fix pthread_sigmask typo.
author
Shai Levy
<58184723+shailevi23@users.noreply.github.com>
Mon, 16 Oct 2023 11:29:04 +0000
(14:29 +0300)
committer
Shai Levy
<shailevy@google.com>
Thu, 19 Oct 2023 11:53:50 +0000
(11:53 +0000)
Signed-off-by: Shai Levy <shailevy23@gmail.com>.
helper_thread.c
patch
|
blob
|
blame
|
history
diff --git
a/helper_thread.c
b/helper_thread.c
index 53dea44bab57256cd292ddcd4831c40605822a2e..2a9dabf5f7e0b27053f7460327ab37f41eb721d1 100644
(file)
--- a/
helper_thread.c
+++ b/
helper_thread.c
@@
-106,13
+106,14
@@
static int read_from_pipe(int fd, void *buf, size_t len)
static void block_signals(void)
{
-#ifdef
HAVE
_PTHREAD_SIGMASK
+#ifdef
CONFIG
_PTHREAD_SIGMASK
sigset_t sigmask;
+ int ret;
+
ret = pthread_sigmask(SIG_UNBLOCK, NULL, &sigmask);
assert(ret == 0);
ret = pthread_sigmask(SIG_BLOCK, &sigmask, NULL);
- assert(ret == 0);
#endif
}