Changeset 25eec4e in mainline for uspace/srv/ns/task.c
- Timestamp:
- 2013-04-19T18:38:18Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6d717a4
- Parents:
- a1e2df13 (diff), 289cb7dd (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/ns/task.c
ra1e2df13 r25eec4e 34 34 #include <ipc/ipc.h> 35 35 #include <adt/hash_table.h> 36 #include < bool.h>36 #include <stdbool.h> 37 37 #include <errno.h> 38 38 #include <assert.h> … … 208 208 sysarg_t retval; 209 209 task_exit_t texit; 210 bool remove = false; 210 211 211 212 ht_link_t *link = hash_table_find(&task_hash_table, &id); … … 235 236 } 236 237 237 hash_table_remove_item(&task_hash_table, link);238 remove = true; 238 239 retval = EOK; 239 240 … … 243 244 ipc_answer_2(callid, retval, texit, ht->retval); 244 245 } 246 if (remove) 247 hash_table_remove_item(&task_hash_table, link); 245 248 } 246 249
Note:
See TracChangeset
for help on using the changeset viewer.