Changeset 012dd8e in mainline for uspace/srv/taskman/task.c
- Timestamp:
- 2019-08-07T09:15:30Z (5 years ago)
- Children:
- e8747bd8
- Parents:
- 780c8ce
- git-author:
- Michal Koutný <xm.koutny+hos@…> (2015-11-01 00:08:04)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-08-07 09:15:30)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/taskman/task.c
r780c8ce r012dd8e 109 109 } 110 110 111 int task_intro( ipc_call_t *call, bool check_unique)111 int task_intro(task_id_t id) 112 112 { 113 113 int rc = EOK; … … 115 115 fibril_rwlock_write_lock(&task_hash_table_lock); 116 116 117 task_t *t = task_get_by_id( call->in_task_id);117 task_t *t = task_get_by_id(id); 118 118 if (t != NULL) { 119 119 rc = EEXISTS; … … 130 130 * Insert into the main table. 131 131 */ 132 t->id = call->in_task_id;132 t->id = id; 133 133 t->exit = TASK_EXIT_RUNNING; 134 134 t->failed = false;
Note:
See TracChangeset
for help on using the changeset viewer.