Changeset 0c42638 in mainline
- Timestamp:
- 2010-05-02T10:32:37Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 278b4a30
- Parents:
- 4ce914d4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/proc/task.h
r4ce914d4 r0c42638 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 task_t *task_find_by_id(task_id_t); 136 extern int task_kill(task_id_t); 137 extern void task_get_accounting(task_t *, uint64_t *, uint64_t *); 138 138 extern void task_print_list(void); 139 139 140 extern void cap_set(task_t * t, cap_t caps);141 extern cap_t cap_get(task_t * t);140 extern void cap_set(task_t *, cap_t); 141 extern cap_t cap_get(task_t *); 142 142 143 143 #ifndef task_create_arch 144 extern void task_create_arch(task_t * t);144 extern void task_create_arch(task_t *); 145 145 #endif 146 146 147 147 #ifndef task_destroy_arch 148 extern void task_destroy_arch(task_t * t);148 extern void task_destroy_arch(task_t *); 149 149 #endif 150 150 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);151 extern unative_t sys_task_get_id(task_id_t *); 152 extern unative_t sys_task_set_name(const char *, size_t); 153 153 154 154 #endif
Note:
See TracChangeset
for help on using the changeset viewer.