Changeset aaa3c457 in mainline for uspace/lib/c/generic/async/client.c
- Timestamp:
- 2018-11-12T10:36:10Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a43dfcb
- Parents:
- 3ce781f4 (diff), 6874bd2 (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. - git-author:
- Jakub Jermář <jakub@…> (2018-11-12 10:36:10)
- git-committer:
- GitHub <noreply@…> (2018-11-12 10:36:10)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/async/client.c
r3ce781f4 raaa3c457 122 122 #include "../private/fibril.h" 123 123 124 static FIBRIL_RMUTEX_INITIALIZE(message_mutex);124 static fibril_rmutex_t message_mutex; 125 125 126 126 /** Naming service session */ … … 173 173 void __async_client_init(void) 174 174 { 175 if (fibril_rmutex_initialize(&message_mutex) != EOK) 176 abort(); 177 175 178 session_ns.iface = 0; 176 179 session_ns.mgmt = EXCHANGE_ATOMIC; … … 186 189 fibril_mutex_initialize(&session_ns.mutex); 187 190 session_ns.exchanges = 0; 191 } 192 193 void __async_client_fini(void) 194 { 195 fibril_rmutex_destroy(&message_mutex); 188 196 } 189 197
Note:
See TracChangeset
for help on using the changeset viewer.