Changeset 7cce333 in mainline for uspace/srv/locsrv/locsrv.c
- Timestamp:
- 2019-08-07T10:22:06Z (5 years ago)
- Children:
- 5353f50
- Parents:
- a097c50
- git-author:
- Michal Koutný <xm.koutny+hos@…> (2015-11-10 21:19:03)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-08-07 10:22:06)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/locsrv/locsrv.c
ra097c50 r7cce333 855 855 if (svc == NULL) { 856 856 /* TODO: 857 * consider non-blocking service start, return 858 * some dummy id and block only after connection 859 * request (actually makes more sense as those who asks 860 * for ID might be someone else than those connecting) 857 * Consider non-blocking service start, return some dummy id 858 * and block only after connection request (actually makes more 859 * sense as those who asks for ID might be someone else than 860 * those connecting) 861 * 861 862 * Note: 862 863 * service_list_mutex is released as we don't need to keep it 863 864 * while waiting for start request to finish. 864 865 */ 865 if ((flags & IPC_FLAG_AUTOSTART ) && !start_requested) {866 if ((flags & IPC_FLAG_AUTOSTART_) && !start_requested) { 866 867 fibril_mutex_unlock(&services_list_mutex); 867 868 rc = loc_service_request_start(ns_name, name); … … 876 877 } 877 878 878 if ((flags & IPC_FLAG_BLOCKING) || flags & IPC_FLAG_AUTOSTART ) {879 if ((flags & IPC_FLAG_BLOCKING) || flags & IPC_FLAG_AUTOSTART_) { 879 880 fibril_condvar_wait(&services_list_cv, 880 881 &services_list_mutex);
Note:
See TracChangeset
for help on using the changeset viewer.