Changeset aaa3c457 in mainline for uspace/lib/c/generic/async/ports.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/ports.c
r3ce781f4 raaa3c457 100 100 101 101 /** Futex guarding the interface hash table. */ 102 static FIBRIL_RMUTEX_INITIALIZE(interface_mutex);102 static fibril_rmutex_t interface_mutex; 103 103 static hash_table_t interface_hash_table; 104 104 … … 292 292 void __async_ports_init(void) 293 293 { 294 if (fibril_rmutex_initialize(&interface_mutex) != EOK) 295 abort(); 296 294 297 if (!hash_table_create(&interface_hash_table, 0, 0, 295 298 &interface_hash_table_ops)) 296 299 abort(); 297 300 } 301 302 void __async_ports_fini(void) 303 { 304 fibril_rmutex_destroy(&interface_mutex); 305 }
Note:
See TracChangeset
for help on using the changeset viewer.