Subversion Repositories HelenOS-historic

Rev

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

Rev 703 Rev 788
Line 29... Line 29...
29
#ifndef __TASK_H__
29
#ifndef __TASK_H__
30
#define __TASK_H__
30
#define __TASK_H__
31
 
31
 
32
#include <typedefs.h>
32
#include <typedefs.h>
33
#include <synch/spinlock.h>
33
#include <synch/spinlock.h>
34
#include <list.h>
34
#include <adt/list.h>
35
 
35
 
36
/** Task structure. */
36
/** Task structure. */
37
struct task {
37
struct task {
38
    SPINLOCK_DECLARE(lock);
38
    SPINLOCK_DECLARE(lock);
39
    link_t th_head;     /**< List of threads contained in this task. */
39
    link_t th_head;     /**< List of threads contained in this task. */