updates
authorPekka Riikonen <priikone@silcnet.org>
Wed, 20 Mar 2002 12:04:55 +0000 (12:04 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Wed, 20 Mar 2002 12:04:55 +0000 (12:04 +0000)
lib/silcutil/silcschedule.h

index 953dbe7301d56fcbe06a104a750b4221dcc9e863..4e079cad980ab504e9eafde6ddf90d54b490c569 100644 (file)
@@ -157,15 +157,16 @@ typedef enum {
  *    The SILC_TASK_READ and SILC_TASK_WRITE may be set by the caller
  *    of the silc_schedule_set_listen_fd, if the caller needs to control
  *    the events for the task. The SILC_TASK_EXPIRE is set always only
- *    by the scheduler when timeout expires for timeout task.
+ *    by the scheduler when timeout expires for timeout task.  The
+ *    SILC_TASK_INTERRUPT is set for signal callback.
  *
  * SOURCE
  */
 typedef enum {
-  SILC_TASK_READ      = 0x0001,                 /* Reading */
-  SILC_TASK_WRITE     = 0x0002,                 /* Writing */
-  SILC_TASK_EXPIRE    = 0x0004,                 /* Timeout */
-  SILC_TASK_INTERRUPT = 0x0004,                 /* Signal */
+  SILC_TASK_READ         = 0x0001,              /* Reading */
+  SILC_TASK_WRITE        = 0x0002,              /* Writing */
+  SILC_TASK_EXPIRE       = 0x0004,              /* Timeout */
+  SILC_TASK_INTERRUPT    = 0x0008,              /* Signal */
 } SilcTaskEvent;
 /***/