Changes in kernel/generic/include/proc/task.h [9dae191e:278b4a30] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/proc/task.h
r9dae191e r278b4a30 1 1 /* 2 * Copyright (c) 20 01-2004Jakub Jermar2 * Copyright (c) 2010 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 *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); 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 *); 138 140 extern void task_print_list(void); 139 141 140 extern void cap_set(task_t * t, cap_t caps);141 extern cap_t cap_get(task_t * t);142 extern void cap_set(task_t *, cap_t); 143 extern cap_t cap_get(task_t *); 142 144 143 145 #ifndef task_create_arch 144 extern void task_create_arch(task_t * t);146 extern void task_create_arch(task_t *); 145 147 #endif 146 148 147 149 #ifndef task_destroy_arch 148 extern void task_destroy_arch(task_t * t);150 extern void task_destroy_arch(task_t *); 149 151 #endif 150 152 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);153 extern unative_t sys_task_get_id(task_id_t *); 154 extern unative_t sys_task_set_name(const char *, size_t); 153 155 154 156 #endif
Note:
See TracChangeset
for help on using the changeset viewer.