Changeset 7c3fb9b in mainline for uspace/srv/locsrv/locsrv.c
- Timestamp:
- 2018-05-17T08:29:01Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6ff23ff
- Parents:
- fac0ac7
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/locsrv/locsrv.c
rfac0ac7 r7c3fb9b 67 67 LIST_INITIALIZE(servers_list); 68 68 69 /* Locking order: 69 /* 70 * Locking order: 70 71 * servers_list_mutex 71 72 * services_list_mutex 72 73 * (loc_server_t *)->services_mutex 73 74 * create_id_mutex 74 * */75 */ 75 76 76 77 FIBRIL_MUTEX_INITIALIZE(services_list_mutex); … … 97 98 service_id_t loc_create_id(void) 98 99 { 99 /* TODO: allow reusing old ids after their unregistration 100 /* 101 * TODO: allow reusing old ids after their unregistration 100 102 * and implement some version of LRU algorithm, avoid overflow 101 103 */ … … 389 391 fibril_mutex_lock(&servers_list_mutex); 390 392 391 /* TODO: 393 /* 394 * TODO: 392 395 * Check that no server with name equal to 393 396 * server->name is registered … … 1057 1060 static void loc_get_services(cap_call_handle_t icall_handle, ipc_call_t *icall) 1058 1061 { 1059 /* FIXME: Use faster algorithm which can make better use 1060 of namespaces */ 1062 /* 1063 * FIXME: Use faster algorithm which can make better use 1064 * of namespaces 1065 */ 1061 1066 1062 1067 cap_call_handle_t chandle;
Note:
See TracChangeset
for help on using the changeset viewer.