150 |
hurd_ihash_init (&bucket->clients_reverse, |
hurd_ihash_init (&bucket->clients_reverse, |
151 |
offsetof (struct _hurd_cap_client, locp)); |
offsetof (struct _hurd_cap_client, locp)); |
152 |
|
|
153 |
|
/* Do not use asynchronous thread allocation by default. */ |
154 |
|
bucket->is_worker_alloc_async = false; |
155 |
|
/* We have to leave bucket->worker_alloc uninitialized. That field |
156 |
|
and bucket->worker_alloc_state will be initialized if |
157 |
|
asynchronous worker thread allocation is used. */ |
158 |
|
|
159 |
/* Finally, add the notify handler. */ |
/* Finally, add the notify handler. */ |
160 |
bucket->client_death_notify.notify_handler = _hurd_cap_client_death; |
bucket->client_death_notify.notify_handler = _hurd_cap_client_death; |
161 |
bucket->client_death_notify.hook = bucket; |
bucket->client_death_notify.hook = bucket; |