Subversion Repositories HelenOS-historic

Rev

Rev 1576 | Rev 1595 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1576 Rev 1579
Line 70... Line 70...
70
    link_t th_link;             /**< Links to threads within containing task. */
70
    link_t th_link;             /**< Links to threads within containing task. */
71
   
71
   
72
    /** Lock protecting thread structure.
72
    /** Lock protecting thread structure.
73
     *
73
     *
74
     * Protects the whole thread structure except list links above.
74
     * Protects the whole thread structure except list links above.
75
     * Must be acquired before T.lock for each T of type task_t.
-
 
76
     *
-
 
77
     */
75
     */
78
    SPINLOCK_DECLARE(lock);
76
    SPINLOCK_DECLARE(lock);
79
 
77
 
80
    char name[THREAD_NAME_BUFLEN];
78
    char name[THREAD_NAME_BUFLEN];
81
 
79
 
Line 96... Line 94...
96
 
94
 
97
    /** True if this thread is executing copy_from_uspace(). False otherwise. */
95
    /** True if this thread is executing copy_from_uspace(). False otherwise. */
98
    bool in_copy_from_uspace;
96
    bool in_copy_from_uspace;
99
    /** True if this thread is executing copy_to_uspace(). False otherwise. */
97
    /** True if this thread is executing copy_to_uspace(). False otherwise. */
100
    bool in_copy_to_uspace;
98
    bool in_copy_to_uspace;
101
 
99
   
-
 
100
    /**
-
 
101
     * If true, the thread will not go to sleep at all and will
-
 
102
     * call thread_exit() before returning to userspace.
-
 
103
     */
-
 
104
    bool interrupted;          
-
 
105
   
102
    bool detached;              /**< If true, thread_join_timeout() cannot be used on this thread. */
106
    bool detached;              /**< If true, thread_join_timeout() cannot be used on this thread. */
103
    waitq_t join_wq;            /**< Waitq for thread_join_timeout(). */
107
    waitq_t join_wq;            /**< Waitq for thread_join_timeout(). */
104
 
108
 
105
    fpu_context_t *saved_fpu_context;
109
    fpu_context_t *saved_fpu_context;
106
    int fpu_context_exists;
110
    int fpu_context_exists;