Changes in kernel/generic/include/proc/task.h [278b4a30:9dae191e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/proc/task.h
r278b4a30 r9dae191e 1 1 /* 2 * Copyright (c) 20 10Jakub Jermar2 * Copyright (c) 2001-2004 Jakub Jermar 3 3 * All rights reserved. 4 4 * … … 131 131 extern void task_init(void); 132 132 extern void task_done(void); 133 extern task_t *task_create(as_t *, const char *); 134 extern void task_destroy(task_t *); 135 extern void task_hold(task_t *); 136 extern void task_release(task_t *); 137 extern task_t *task_find_by_id(task_id_t); 138 extern int task_kill(task_id_t); 139 extern void task_get_accounting(task_t *, uint64_t *, uint64_t *); 133 extern task_t *task_create(as_t *as, const char *name); 134 extern void task_destroy(task_t *t); 135 extern task_t *task_find_by_id(task_id_t id); 136 extern int task_kill(task_id_t id); 137 extern void task_get_accounting(task_t *t, uint64_t *ucycles, uint64_t *kcycles); 140 138 extern void task_print_list(void); 141 139 142 extern void cap_set(task_t * , cap_t);143 extern cap_t cap_get(task_t * );140 extern void cap_set(task_t *t, cap_t caps); 141 extern cap_t cap_get(task_t *t); 144 142 145 143 #ifndef task_create_arch 146 extern void task_create_arch(task_t * );144 extern void task_create_arch(task_t *t); 147 145 #endif 148 146 149 147 #ifndef task_destroy_arch 150 extern void task_destroy_arch(task_t * );148 extern void task_destroy_arch(task_t *t); 151 149 #endif 152 150 153 extern unative_t sys_task_get_id(task_id_t * );154 extern unative_t sys_task_set_name(const char * , size_t);151 extern unative_t sys_task_get_id(task_id_t *uspace_task_id); 152 extern unative_t sys_task_set_name(const char *uspace_name, size_t name_len); 155 153 156 154 #endif
Note:
See TracChangeset
for help on using the changeset viewer.