Skip to content

Commit e6bff4a

Browse files
rhowe-gdstobespc
authored andcommitted
Disable watchdog when sigev_notify_thread_id is unavailable (#597)
This is the case e.g. on Alpine Linux, which uses musl libc. Correct the logic in the original commit (48682de)
1 parent ac5534d commit e6bff4a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

AUTHORS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@ Authors ordered by first contribution:
2121
- John Barboza (https://github.com/jbarz)
2222
- Abdirahim Musse (https://github.com/ab-m)
2323
- Richard Waller (https://github.com/rwalle61)
24+
- Russell Howe (https://github.com/rhowe-gds)

src/plugins/node/prof/watchdog.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include "compat.h"
2121
#include "compat-inl.h"
2222

23-
#if defined(__linux__) && (defined(__i386) || defined(__x86_64__)) || defined(sigev_notify_thread_id)
23+
#if defined(__linux__) && (defined(__i386) || defined(__x86_64__)) && defined(sigev_notify_thread_id)
2424

2525
#include "util.h"
2626

0 commit comments

Comments
 (0)