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

4.104.114.84.95
Last change on this file since 12c77ab was 12c77ab, checked in by Joel Sherrill <joel.sherrill@…>, on 06/04/96 at 16:14:55

added scheduling policy and parameter information

  • Property mode set to 100644
File size: 827 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      Schedule;
18
19#if 0
20  /*
21   *  POSIX Interrupts
22   */
23  unsigned32              interrupts_installed;
24  CORE_semaphore_Control  Interrupt_Semaphore;
25#endif
26
27#if 0
28  /*
29   *  POSIX Cancelability
30   */
31  int                     cancelability_state;
32  int                     cancelability_type;
33  int                     cancelation_requested;
34  Chain_Control           Cancellation_Handlers;
35#endif
36
37} POSIX_API_Control;
38
39#endif
40/* end of include file */
41
Note: See TracBrowser for help on using the repository browser.