1 |
|
2004-10-25 Marcus Brinkmann <marcus@gnu.org> |
2 |
|
|
3 |
|
* Makefile.am (libhurd_cap_server_a_SOURCES): Add |
4 |
|
bucket-worker-alloc.c. |
5 |
|
* bucket-worker-alloc.c: New file. |
6 |
|
* bucket-create.c (hurd_cap_bucket_create): Initialize |
7 |
|
BUCKET->worker_alloc_sync and BUCKET->worker_alloc_state. |
8 |
|
* cap-server-intern.h (struct _hurd_cap_bucket): New members |
9 |
|
worker_alloc_async and worker_alloc. |
10 |
|
* cap-server.h (hurd_cap_bucket_worker_alloc): New prototype. |
11 |
|
* bucket-manage-mt.c (hurd_cap_bucket_manage_mt): Move |
12 |
|
initialization of acceptor and xfer timeouts to just before the |
13 |
|
IPC (repeat it for every IPC). Set xfer timeout to all zero. Do |
14 |
|
not pay attention to BUCKET->free_worker after cancelling the |
15 |
|
current worker thread at shutdown. Create a worker allocation |
16 |
|
thread if requested, and shut it down before terminating. |
17 |
|
(manage_mt_worker): Take a new argument, ASYNC. If it is set, add |
18 |
|
worker thread to free list at startup, and use a timeout for the |
19 |
|
first wait. |
20 |
|
(manage_mt_worker_async, manage_mt_worker_sync): New wrapper |
21 |
|
functions. |
22 |
|
(worker_alloc_async): New function. |
23 |
|
(manage_mt_get_next_worker): |
24 |
|
|
25 |
2004-10-23 Marcus Brinkmann <marcus@gnu.org> |
2004-10-23 Marcus Brinkmann <marcus@gnu.org> |
26 |
|
|
27 |
* bucket-manage-mt.c: Include <l4.h>. |
* bucket-manage-mt.c: Include <l4.h>. |