projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
properly access mcontext_t program counter in cancellation handler
[oweals/musl.git]
/
arch
/
i386
/
pthread_arch.h
diff --git
a/arch/i386/pthread_arch.h
b/arch/i386/pthread_arch.h
index 1c06c7641df683b9ffe14c0e91f0b1da192abbe0..7f38a56289032a3026a1580a798118e7214ae3ac 100644
(file)
--- a/
arch/i386/pthread_arch.h
+++ b/
arch/i386/pthread_arch.h
@@
-7,4
+7,4
@@
static inline struct pthread *__pthread_self()
#define TP_ADJ(p) (p)
-#define
CANCEL_REG_IP 14
+#define
MC_PC gregs[REG_EIP]