projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
new framework to inhibit thread cancellation when needed
[musl]
/
src
/
internal
/
libc.h
diff --git
a/src/internal/libc.h
b/src/internal/libc.h
index
b80cbcc
..
be88dc0
100644
(file)
--- a/
src/internal/libc.h
+++ b/
src/internal/libc.h
@@
-45,6
+45,8
@@
void __lockfile(FILE *);
#define CANCELPT_BEGIN CANCELPT(1)
#define CANCELPT_TRY CANCELPT(0)
#define CANCELPT_END CANCELPT(-1)
+#define CANCELPT_INHIBIT CANCELPT(2)
+#define CANCELPT_RESUME CANCELPT(-2)
extern char **__environ;
#define environ __environ