Changeset cd50486 in mainline for uspace/lib/c/generic/async_sess.c
- Timestamp:
- 2011-02-06T22:03:55Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 25971d2
- Parents:
- 1110ebd (diff), 960ff451 (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/lib/c/generic/async_sess.c
r1110ebd rcd50486 99 99 100 100 #include <async_sess.h> 101 #include <ipc/ipc.h>102 101 #include <fibril_synch.h> 103 102 #include <adt/list.h> … … 106 105 #include <errno.h> 107 106 #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 void _async_sess_init(void) 140 * 141 */ 142 void __async_sess_init(void) 142 143 { 143 144 fibril_mutex_initialize(&async_sess_mutex); … … 200 201 list_remove(&conn->global_link); 201 202 202 ipc_hangup(conn->data_phone);203 async_hangup(conn->data_phone); 203 204 free(conn); 204 205 } … … 260 261 data_phone = conn->data_phone; 261 262 free(conn); 262 ipc_hangup(data_phone);263 async_hangup(data_phone); 263 264 goto retry; 264 265 } else { … … 292 293 * means that we simply hang up. 293 294 */ 294 ipc_hangup(data_phone);295 async_hangup(data_phone); 295 296 fibril_mutex_unlock(&async_sess_mutex); 296 297 return;
Note:
See TracChangeset
for help on using the changeset viewer.