source: rtems/c/src/exec/posix/include/rtems/posix/threadsup.h @ d0f53fe

4.104.114.84.95
Last change on this file since d0f53fe was d0f53fe, checked in by Joel Sherrill <joel.sherrill@…>, on 04/15/99 at 18:54:01

Enabled cancellation information in POSIX API thread extension structure.

  • Property mode set to 100644
File size: 989 bytes
Line 
1/* threadsup.h
2 *
3 *  $Id$
4 */
5
6#ifndef __RTEMS_POSIX_THREAD_SUPPORT_h
7#define __RTEMS_POSIX_THREAD_SUPPORT_h
8
9#include <rtems/score/coresem.h>
10#include <rtems/score/tqdata.h>
11
12typedef struct {
13  pthread_attr_t          Attributes;
14  int                     detachstate;
15  Thread_queue_Control    Join_List;
16  int                     schedpolicy;
17  struct sched_param      schedparam;
18  int                     ss_high_priority;
19  Watchdog_Control        Sporadic_timer;
20
21  sigset_t                signals_blocked;
22  sigset_t                signals_pending;
23
24#if 0
25  /*
26   *  POSIX Interrupts
27   */
28  unsigned32              interrupts_installed;
29  CORE_semaphore_Control  Interrupt_Semaphore;
30#endif
31
32  /*
33   *  POSIX Cancelability
34   */
35  int                     cancelability_state;
36  int                     cancelability_type;
37  int                     cancelation_requested;
38  Chain_Control           Cancellation_Handlers;
39
40} POSIX_API_Control;
41
42#endif
43/* end of include file */
44
Note: See TracBrowser for help on using the repository browser.