411 |
hurd_cap_handle_t *r_cap); |
hurd_cap_handle_t *r_cap); |
412 |
|
|
413 |
|
|
414 |
|
/* If ASYNC is true, allocate worker threads asynchronously whenever |
415 |
|
the number of worker threads is exhausted. This is only actually |
416 |
|
required for physmem (the physical memory server), to allow to |
417 |
|
break out of a dead-lock between physmem and the task server. It |
418 |
|
should be unnecessary for any other server. |
419 |
|
|
420 |
|
The default is to false, which means that worker threads are |
421 |
|
allocated synchronously by the manager thread. |
422 |
|
|
423 |
|
This function should be called before the manager is started with |
424 |
|
hurd_cap_bucket_manage_mt. It is only used for the multi-threaded |
425 |
|
RPC manager. */ |
426 |
|
error_t hurd_cap_bucket_worker_alloc (hurd_cap_bucket_t bucket, bool async); |
427 |
|
|
428 |
|
|
429 |
/* Start managing RPCs on the bucket BUCKET. The ROOT capability |
/* Start managing RPCs on the bucket BUCKET. The ROOT capability |
430 |
object, which must be unlocked and have one reference throughout |
object, which must be unlocked and have one reference throughout |
431 |
the whole time this function runs, is used for bootstrapping client |
the whole time this function runs, is used for bootstrapping client |