Changeset 241f1985 in mainline for uspace/srv/taskman/task.c
- Timestamp:
- 2019-08-31T10:45:17Z (6 years ago)
- Children:
- 102f641
- Parents:
- f92b315
- git-author:
- Matthieu Riolo <matthieu.riolo@…> (2019-08-23 22:04:34)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-08-31 10:45:17)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/taskman/task.c
rf92b315 r241f1985 57 57 */ 58 58 59 static size_t ht_task_key_hash( void *key)59 static size_t ht_task_key_hash(const void *key) 60 60 { 61 61 return *(task_id_t*)key; … … 68 68 } 69 69 70 static bool ht_task_key_equal( void *key, const ht_link_t *item)70 static bool ht_task_key_equal(const void *key, const ht_link_t *item) 71 71 { 72 72 task_t *ht = hash_table_get_inst(item, task_t, link); … … 199 199 task_t *t = task_get_by_id(id); 200 200 if (t != NULL) { 201 rc = EEXIST S;201 rc = EEXIST; 202 202 goto finish; 203 203 }
Note:
See TracChangeset
for help on using the changeset viewer.