Changeset 4a1bc34b in rtems


Ignore:
Timestamp:
Jun 12, 1996, 5:45:34 PM (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
281ad52
Parents:
2291b71
Message:

added waiting for signal state.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/score/headers/states.h

    r2291b71 r4a1bc34b  
    3333 */
    3434
    35 #define STATES_ALL_SET                         0xffff /* all states */
    36 #define STATES_READY                           0x0000 /* ready to run */
    37 #define STATES_DORMANT                         0x0001 /* created not started */
    38 #define STATES_SUSPENDED                       0x0002 /* waiting for resume */
    39 #define STATES_TRANSIENT                       0x0004 /* thread in transition */
    40 #define STATES_DELAYING                        0x0008 /* wait for timeout */
    41 #define STATES_WAITING_FOR_TIME                0x0010 /* wait for TOD */
    42 #define STATES_WAITING_FOR_BUFFER              0x0020
    43 #define STATES_WAITING_FOR_SEGMENT             0x0040
    44 #define STATES_WAITING_FOR_MESSAGE             0x0080
    45 #define STATES_WAITING_FOR_EVENT               0x0100
    46 #define STATES_WAITING_FOR_SEMAPHORE           0x0200
    47 #define STATES_WAITING_FOR_MUTEX               0x0400
    48 #define STATES_WAITING_FOR_CONDITION_VARIABLE  0x0800
    49 #define STATES_WAITING_FOR_JOIN_AT_EXIT        0x1000
    50 #define STATES_WAITING_FOR_RPC_REPLY           0x2000
    51 #define STATES_WAITING_FOR_PERIOD              0x4000
    52 #define STATES_INTERRUPTIBLE_BY_SIGNAL         0x8000
     35#define STATES_ALL_SET                         0xfffff /* all states */
     36#define STATES_READY                           0x00000 /* ready to run */
     37#define STATES_DORMANT                         0x00001 /* created not started */
     38#define STATES_SUSPENDED                       0x00002 /* waiting for resume */
     39#define STATES_TRANSIENT                       0x00004 /* in transition */
     40#define STATES_DELAYING                        0x00008 /* wait for timeout */
     41#define STATES_WAITING_FOR_TIME                0x00010 /* wait for TOD */
     42#define STATES_WAITING_FOR_BUFFER              0x00020
     43#define STATES_WAITING_FOR_SEGMENT             0x00040
     44#define STATES_WAITING_FOR_MESSAGE             0x00080
     45#define STATES_WAITING_FOR_EVENT               0x00100
     46#define STATES_WAITING_FOR_SEMAPHORE           0x00200
     47#define STATES_WAITING_FOR_MUTEX               0x00400
     48#define STATES_WAITING_FOR_CONDITION_VARIABLE  0x00800
     49#define STATES_WAITING_FOR_JOIN_AT_EXIT        0x01000
     50#define STATES_WAITING_FOR_RPC_REPLY           0x02000
     51#define STATES_WAITING_FOR_PERIOD              0x04000
     52#define STATES_WAITING_FOR_SIGNAL              0x08000
     53#define STATES_INTERRUPTIBLE_BY_SIGNAL         0x10000
    5354
    5455#define STATES_LOCALLY_BLOCKED ( STATES_WAITING_FOR_BUFFER             | \
     
    5859                                 STATES_WAITING_FOR_MUTEX              | \
    5960                                 STATES_WAITING_FOR_CONDITION_VARIABLE | \
    60                                  STATES_WAITING_FOR_JOIN_AT_EXIT       )
     61                                 STATES_WAITING_FOR_JOIN_AT_EXIT       | \
     62                                 STATES_WAITING_FOR_SIGNAL             )
    6163
    6264#define STATES_WAITING_ON_THREAD_QUEUE \
  • c/src/exec/score/include/rtems/score/states.h

    r2291b71 r4a1bc34b  
    3333 */
    3434
    35 #define STATES_ALL_SET                         0xffff /* all states */
    36 #define STATES_READY                           0x0000 /* ready to run */
    37 #define STATES_DORMANT                         0x0001 /* created not started */
    38 #define STATES_SUSPENDED                       0x0002 /* waiting for resume */
    39 #define STATES_TRANSIENT                       0x0004 /* thread in transition */
    40 #define STATES_DELAYING                        0x0008 /* wait for timeout */
    41 #define STATES_WAITING_FOR_TIME                0x0010 /* wait for TOD */
    42 #define STATES_WAITING_FOR_BUFFER              0x0020
    43 #define STATES_WAITING_FOR_SEGMENT             0x0040
    44 #define STATES_WAITING_FOR_MESSAGE             0x0080
    45 #define STATES_WAITING_FOR_EVENT               0x0100
    46 #define STATES_WAITING_FOR_SEMAPHORE           0x0200
    47 #define STATES_WAITING_FOR_MUTEX               0x0400
    48 #define STATES_WAITING_FOR_CONDITION_VARIABLE  0x0800
    49 #define STATES_WAITING_FOR_JOIN_AT_EXIT        0x1000
    50 #define STATES_WAITING_FOR_RPC_REPLY           0x2000
    51 #define STATES_WAITING_FOR_PERIOD              0x4000
    52 #define STATES_INTERRUPTIBLE_BY_SIGNAL         0x8000
     35#define STATES_ALL_SET                         0xfffff /* all states */
     36#define STATES_READY                           0x00000 /* ready to run */
     37#define STATES_DORMANT                         0x00001 /* created not started */
     38#define STATES_SUSPENDED                       0x00002 /* waiting for resume */
     39#define STATES_TRANSIENT                       0x00004 /* in transition */
     40#define STATES_DELAYING                        0x00008 /* wait for timeout */
     41#define STATES_WAITING_FOR_TIME                0x00010 /* wait for TOD */
     42#define STATES_WAITING_FOR_BUFFER              0x00020
     43#define STATES_WAITING_FOR_SEGMENT             0x00040
     44#define STATES_WAITING_FOR_MESSAGE             0x00080
     45#define STATES_WAITING_FOR_EVENT               0x00100
     46#define STATES_WAITING_FOR_SEMAPHORE           0x00200
     47#define STATES_WAITING_FOR_MUTEX               0x00400
     48#define STATES_WAITING_FOR_CONDITION_VARIABLE  0x00800
     49#define STATES_WAITING_FOR_JOIN_AT_EXIT        0x01000
     50#define STATES_WAITING_FOR_RPC_REPLY           0x02000
     51#define STATES_WAITING_FOR_PERIOD              0x04000
     52#define STATES_WAITING_FOR_SIGNAL              0x08000
     53#define STATES_INTERRUPTIBLE_BY_SIGNAL         0x10000
    5354
    5455#define STATES_LOCALLY_BLOCKED ( STATES_WAITING_FOR_BUFFER             | \
     
    5859                                 STATES_WAITING_FOR_MUTEX              | \
    5960                                 STATES_WAITING_FOR_CONDITION_VARIABLE | \
    60                                  STATES_WAITING_FOR_JOIN_AT_EXIT       )
     61                                 STATES_WAITING_FOR_JOIN_AT_EXIT       | \
     62                                 STATES_WAITING_FOR_SIGNAL             )
    6163
    6264#define STATES_WAITING_ON_THREAD_QUEUE \
  • cpukit/score/include/rtems/score/states.h

    r2291b71 r4a1bc34b  
    3333 */
    3434
    35 #define STATES_ALL_SET                         0xffff /* all states */
    36 #define STATES_READY                           0x0000 /* ready to run */
    37 #define STATES_DORMANT                         0x0001 /* created not started */
    38 #define STATES_SUSPENDED                       0x0002 /* waiting for resume */
    39 #define STATES_TRANSIENT                       0x0004 /* thread in transition */
    40 #define STATES_DELAYING                        0x0008 /* wait for timeout */
    41 #define STATES_WAITING_FOR_TIME                0x0010 /* wait for TOD */
    42 #define STATES_WAITING_FOR_BUFFER              0x0020
    43 #define STATES_WAITING_FOR_SEGMENT             0x0040
    44 #define STATES_WAITING_FOR_MESSAGE             0x0080
    45 #define STATES_WAITING_FOR_EVENT               0x0100
    46 #define STATES_WAITING_FOR_SEMAPHORE           0x0200
    47 #define STATES_WAITING_FOR_MUTEX               0x0400
    48 #define STATES_WAITING_FOR_CONDITION_VARIABLE  0x0800
    49 #define STATES_WAITING_FOR_JOIN_AT_EXIT        0x1000
    50 #define STATES_WAITING_FOR_RPC_REPLY           0x2000
    51 #define STATES_WAITING_FOR_PERIOD              0x4000
    52 #define STATES_INTERRUPTIBLE_BY_SIGNAL         0x8000
     35#define STATES_ALL_SET                         0xfffff /* all states */
     36#define STATES_READY                           0x00000 /* ready to run */
     37#define STATES_DORMANT                         0x00001 /* created not started */
     38#define STATES_SUSPENDED                       0x00002 /* waiting for resume */
     39#define STATES_TRANSIENT                       0x00004 /* in transition */
     40#define STATES_DELAYING                        0x00008 /* wait for timeout */
     41#define STATES_WAITING_FOR_TIME                0x00010 /* wait for TOD */
     42#define STATES_WAITING_FOR_BUFFER              0x00020
     43#define STATES_WAITING_FOR_SEGMENT             0x00040
     44#define STATES_WAITING_FOR_MESSAGE             0x00080
     45#define STATES_WAITING_FOR_EVENT               0x00100
     46#define STATES_WAITING_FOR_SEMAPHORE           0x00200
     47#define STATES_WAITING_FOR_MUTEX               0x00400
     48#define STATES_WAITING_FOR_CONDITION_VARIABLE  0x00800
     49#define STATES_WAITING_FOR_JOIN_AT_EXIT        0x01000
     50#define STATES_WAITING_FOR_RPC_REPLY           0x02000
     51#define STATES_WAITING_FOR_PERIOD              0x04000
     52#define STATES_WAITING_FOR_SIGNAL              0x08000
     53#define STATES_INTERRUPTIBLE_BY_SIGNAL         0x10000
    5354
    5455#define STATES_LOCALLY_BLOCKED ( STATES_WAITING_FOR_BUFFER             | \
     
    5859                                 STATES_WAITING_FOR_MUTEX              | \
    5960                                 STATES_WAITING_FOR_CONDITION_VARIABLE | \
    60                                  STATES_WAITING_FOR_JOIN_AT_EXIT       )
     61                                 STATES_WAITING_FOR_JOIN_AT_EXIT       | \
     62                                 STATES_WAITING_FOR_SIGNAL             )
    6163
    6264#define STATES_WAITING_ON_THREAD_QUEUE \
Note: See TracChangeset for help on using the changeset viewer.