Changeset 203f4c3 in mainline for generic/include/proc/thread.h


Ignore:
Timestamp:
2006-04-09T14:14:49Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
016acbe
Parents:
fe04594
Message:

Sleeping in a wait queue can be now interrupted with
waitq_interrupt_sleep().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/include/proc/thread.h

    rfe04594 r203f4c3  
    8181        void *thread_arg;                       /**< Argument passed to thread_code() function. */
    8282
    83         context_t saved_context;                /**< From here, the stored context is restored when the thread is scheduled. */
    84         context_t sleep_timeout_context;        /**< From here, the stored failover context is restored when sleep times out. */
     83        /** From here, the stored context is restored when the thread is scheduled. */
     84        context_t saved_context;
     85        /** From here, the stored timeout context is restored when sleep times out. */
     86        context_t sleep_timeout_context;
     87        /** From here, the stored interruption context is restored when sleep is interrupted. */
     88        context_t sleep_interruption_context;
    8589
    8690        waitq_t *sleep_queue;                   /**< Wait queue in which this thread sleeps. */
Note: See TracChangeset for help on using the changeset viewer.