source: rtems/cpukit/posix/include/rtems/posix/threadsup.h @ f22ebf0

4.104.114.84.95
Last change on this file since f22ebf0 was 781262bb, checked in by Joel Sherrill <joel.sherrill@…>, on 10/31/00 at 16:33:48

2000-10-30 Joel Sherrill <joel@…>

  • include/Makefile.am: Updated to reflect files merged into newlib. This resulted in some definitions moving to other files and thus some secondary effects in RTEMS source code.
  • include/unistd.h: Removed. Now use newlib's.
  • include/rtems/posix/mqueue.h: Add include of <signal.h>.
  • include/rtems/posix/threadsup.h: Add include of <sys/signal.h>
  • src/execv.c: Corrected prototype to agree with newlib.
  • src/execve.c: Corrected prototype to agree with newlib.
  • src/execvp.c: Corrected prototype to agree with newlib.
  • src/psignal.c: Rewrote reference to <siginfo.h> in comment since that file no longer exists.
  • src/pthreadkill.c: Added include of <signal.h>.
  • src/sigaction.c: Added include of <signal.h>.
  • src/sigtimedwait.c: Rewrote reference to <siginfo.h> in comment since that file no longer exists. *
  • Property mode set to 100644
File size: 1013 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 <sys/signal.h>
10#include <rtems/score/coresem.h>
11#include <rtems/score/tqdata.h>
12
13typedef struct {
14  pthread_attr_t          Attributes;
15  int                     detachstate;
16  Thread_queue_Control    Join_List;
17  int                     schedpolicy;
18  struct sched_param      schedparam;
19  int                     ss_high_priority;
20  Watchdog_Control        Sporadic_timer;
21
22  sigset_t                signals_blocked;
23  sigset_t                signals_pending;
24
25#if 0
26  /*
27   *  POSIX Interrupts
28   */
29  unsigned32              interrupts_installed;
30  CORE_semaphore_Control  Interrupt_Semaphore;
31#endif
32
33  /*
34   *  POSIX Cancelability
35   */
36  int                     cancelability_state;
37  int                     cancelability_type;
38  int                     cancelation_requested;
39  Chain_Control           Cancellation_Handlers;
40
41} POSIX_API_Control;
42
43#endif
44/* end of include file */
45
Note: See TracBrowser for help on using the repository browser.