Skip to content

Commit

Permalink
(struct hurd_sigstate): New member `cancel_hook'.
Browse files Browse the repository at this point in the history
  • Loading branch information
Roland McGrath committed Aug 22, 1995
1 parent 537257a commit 207eb76
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hurd/hurd/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit 207eb76

Please sign in to comment.