4.104.114.84.95
Last change
on this file since f845e96e was
f845e96e,
checked in by Joel Sherrill <joel.sherrill@…>, on 07/05/02 at 18:13:18
|
2002-07-05 Joel Sherrill <joel@…>
- include/rtems/posix/cancel.h, src/cancel.c, src/cancelrun.c,
src/mqueue.c, src/pthread.c, src/semaphore.c, src/setcancelstate.c,
src/setcanceltype.c, src/testcancel.c: Per PR164, corrected the
behavior of thread cancellation and did some cleanup as a side-effect.
|
-
Property mode set to
100644
|
File size:
503 bytes
|
Line | |
---|
1 | /* rtems/posix/cancel.h |
---|
2 | * |
---|
3 | * $Id$ |
---|
4 | */ |
---|
5 | |
---|
6 | #ifndef __RTEMS_POSIX_CANCEL_h |
---|
7 | #define __RTEMS_POSIX_CANCEL_h |
---|
8 | |
---|
9 | typedef struct { |
---|
10 | Chain_Node Node; |
---|
11 | void (*routine)( void * ); |
---|
12 | void *arg; |
---|
13 | } POSIX_Cancel_Handler_control; |
---|
14 | |
---|
15 | /* |
---|
16 | * _POSIX_Threads_cancel_run |
---|
17 | * |
---|
18 | * DESCRIPTION: |
---|
19 | * |
---|
20 | * This support routine runs through the chain of cancel handlers that |
---|
21 | * have been registered and executes them. |
---|
22 | */ |
---|
23 | |
---|
24 | void _POSIX_Threads_cancel_run( |
---|
25 | Thread_Control *the_thread |
---|
26 | ); |
---|
27 | |
---|
28 | #endif |
---|
29 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.