summaryrefslogtreecommitdiff
path: root/java/src/TaskFlags.java
blob: fdca5d20df6497faa4e17eb517190a669659a08d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*************************************************
 *
 * = PACKAGE
 *    ACE.ASX
 *
 * = FILENAME
 *    TaskFlags.java
 *
 *@author Prashant Jain
 *
 *************************************************/
package ACE.ASX;

public abstract class TaskFlags
{
  /** Identifies a Task as being the "reader" in a Module. */
  public static final int ACE_READER    = 01;

  /** Just flush data messages in the queue. */
  public static final int ACE_FLUSHDATA = 02;

  /** Flush all messages in the Queue. */
  public static final int ACE_FLUSHALL  = 04;

  /** Flush read queue */
  public static final int ACE_FLUSHR    = 010;

  /** Flush write queue */
  public static final int ACE_FLUSHW    = 020;

  /** Flush both queues */
  public static final int ACE_FLUSHRW   = 030;

  /** Identifies a thread as suspended */
  public static final int THR_SUSPENDED = 0x00000080;

  /** Identifies a thread as a daemon thread */
  public static final int THR_DAEMON    = 0x00000100;

  // Default private constructor to avoid instantiation
  private TaskFlags ()
  {
  }
}