Changes in kernel/generic/include/proc/task.h [278b4a30:da1bafb] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/proc/task.h
r278b4a30 rda1bafb 70 70 * threads. 71 71 */ 72 SPINLOCK_DECLARE(lock);73 72 IRQ_SPINLOCK_DECLARE(lock); 73 74 74 char name[TASK_NAME_BUFLEN]; 75 75 /** List of threads contained in this task. */ … … 81 81 /** Task security context. */ 82 82 context_id_t context; 83 83 84 84 /** Number of references (i.e. threads). */ 85 85 atomic_t refcount; 86 86 /** Number of threads that haven't exited yet. */ 87 87 atomic_t lifecount; 88 88 89 89 /** Task capabilities. */ 90 90 cap_t capabilities; 91 91 92 92 /* IPC stuff */ 93 93 answerbox_t answerbox; /**< Communication endpoint */ … … 101 101 /** List of synchronous answerboxes. */ 102 102 link_t sync_box_head; 103 103 104 104 #ifdef CONFIG_UDEBUG 105 105 /** Debugging stuff. */ 106 106 udebug_task_t udebug; 107 107 108 108 /** Kernel answerbox. */ 109 109 kbox_t kb; 110 #endif 111 110 #endif /* CONFIG_UDEBUG */ 111 112 112 /** Architecture specific task data. */ 113 113 task_arch_t arch; … … 126 126 } task_t; 127 127 128 SPINLOCK_EXTERN(tasks_lock);128 IRQ_SPINLOCK_EXTERN(tasks_lock); 129 129 extern avltree_t tasks_tree; 130 130
Note:
See TracChangeset
for help on using the changeset viewer.