Changeset 25697163 in mainline for uspace/srv/taskman
- Timestamp:
- 2019-10-06T19:47:15Z (6 years ago)
- Children:
- 9559cf8
- Parents:
- 102f641
- git-author:
- Matthieu Riolo <matthieu.riolo@…> (2019-09-06 17:58:36)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-10-06 19:47:15)
- Location:
- uspace/srv/taskman
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/taskman/task.c
r102f641 r25697163 119 119 } 120 120 121 int tasks_init(void)121 errno_t tasks_init(void) 122 122 { 123 123 if (!hash_table_create(&task_hash_table, 0, 0, &task_hash_table_ops)) { … … 191 191 } 192 192 193 int task_intro(task_id_t id)194 { 195 int rc = EOK;193 errno_t task_intro(task_id_t id) 194 { 195 errno_t rc = EOK; 196 196 197 197 fibril_rwlock_write_lock(&task_hash_table_lock); -
uspace/srv/taskman/task.h
r102f641 r25697163 77 77 extern fibril_rwlock_t task_hash_table_lock; 78 78 79 extern int tasks_init(void);79 extern errno_t tasks_init(void); 80 80 81 81 extern task_t *task_get_by_id(task_id_t); … … 85 85 extern void task_remove(task_t **); 86 86 87 extern int task_intro(task_id_t);87 extern errno_t task_intro(task_id_t); 88 88 89 89 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
