Changes in uspace/lib/c/generic/async_sess.c [47b7006:8b5c8ae] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/async_sess.c
r47b7006 r8b5c8ae 99 99 100 100 #include <async_sess.h> 101 #include <ipc/ipc.h> 101 102 #include <fibril_synch.h> 102 103 #include <adt/list.h> … … 105 106 #include <errno.h> 106 107 #include <assert.h> 107 #include "private/async_sess.h"108 108 109 109 /** An inactive open connection. */ … … 138 138 * 139 139 * Needs to be called prior to any other interface in this file. 140 * 141 */ 142 void __async_sess_init(void) 140 */ 141 void _async_sess_init(void) 143 142 { 144 143 fibril_mutex_initialize(&async_sess_mutex); … … 201 200 list_remove(&conn->global_link); 202 201 203 async_hangup(conn->data_phone);202 ipc_hangup(conn->data_phone); 204 203 free(conn); 205 204 } … … 261 260 data_phone = conn->data_phone; 262 261 free(conn); 263 async_hangup(data_phone);262 ipc_hangup(data_phone); 264 263 goto retry; 265 264 } else { … … 293 292 * means that we simply hang up. 294 293 */ 295 async_hangup(data_phone);294 ipc_hangup(data_phone); 296 295 fibril_mutex_unlock(&async_sess_mutex); 297 296 return;
Note:
See TracChangeset
for help on using the changeset viewer.