Changeset e721462 in mainline
- Timestamp:
- 2010-10-10T15:51:03Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f99c191
- Parents:
- e9460aa
- Location:
- uspace/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/net/socket_client.c
re9460aa re721462 177 177 // .last_id = 0, 178 178 .sockets = NULL, 179 .lock = { 180 .readers = 0, 181 .writers = 0, 182 .waiters = { 183 .prev = &socket_globals.lock.waiters, /* XXX */ 184 .next = &socket_globals.lock.waiters /* XXX */ 185 } 186 } 179 .lock = FIBRIL_RWLOCK_INITIALIZER(socket_globals.lock) 187 180 }; 188 181 -
uspace/lib/socket/packet/packet_server.c
re9460aa re721462 85 85 unsigned int count; 86 86 } ps_globals = { 87 .lock = { 88 .counter = 1, 89 .waiters = { 90 .prev = &ps_globals.lock.waiters, 91 .next = &ps_globals.lock.waiters, 92 } 93 }, 87 .lock = FIBRIL_MUTEX_INITIALIZER(ps_globals.lock), 94 88 .free = {NULL, NULL, NULL, NULL, NULL, NULL, NULL}, 95 89 .sizes = {PAGE_SIZE, PAGE_SIZE * 2, PAGE_SIZE * 4, PAGE_SIZE * 8, PAGE_SIZE * 16, PAGE_SIZE * 32, PAGE_SIZE * 64},
Note:
See TracChangeset
for help on using the changeset viewer.