projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
537257a
)
(struct hurd_sigstate): New member `cancel_hook'.
author
Roland McGrath
<roland@gnu.org>
Tue, 22 Aug 1995 20:53:23 +0000
(20:53 +0000)
committer
Roland McGrath
<roland@gnu.org>
Tue, 22 Aug 1995 20:53:23 +0000
(20:53 +0000)
hurd/hurd/signal.h
patch
|
blob
|
history
diff --git
a/hurd/hurd/signal.h
b/hurd/hurd/signal.h
index
a032313
..
6a188bd
100644
(file)
--- a/
hurd/hurd/signal.h
+++ b/
hurd/hurd/signal.h
@@
-85,7
+85,9
@@
struct hurd_sigstate
thread itself, and always inside a critical section. */
struct hurd_userlink *active_resources;
- volatile int cancel; /* Flag set by hurd_thread_cancel. */
+ /* These are locked normally. */
+ int cancel; /* Flag set by hurd_thread_cancel. */
+ void (*cancel_hook) (void); /* Called on cancellation. */
};
/* Linked list of states of all threads whose state has been asked for. */