source: rtems/c/src/exec/posix/include/rtems/posix/cancel.h @ f845e96e

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
RevLine 
[5e9b32b]1/* rtems/posix/cancel.h
2 *
[eb5a7e07]3 *  $Id$
[5e9b32b]4 */
5
6#ifndef __RTEMS_POSIX_CANCEL_h
7#define __RTEMS_POSIX_CANCEL_h
8
9typedef struct {
10  Chain_Node  Node;
11  void      (*routine)( void * );
12  void       *arg;
13}  POSIX_Cancel_Handler_control;
14
[0a3946f]15/*
[f845e96e]16 *  _POSIX_Threads_cancel_run
[0a3946f]17 *
18 *  DESCRIPTION:
19 *
[2b2ab1c]20 *  This support routine runs through the chain of cancel handlers that
21 *  have been registered and executes them.
[0a3946f]22 */
23
[f845e96e]24void _POSIX_Threads_cancel_run(
[0a3946f]25  Thread_Control *the_thread
26);
27
[5e9b32b]28#endif
29/* end of include file */
Note: See TracBrowser for help on using the repository browser.