apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henry Jen <henry...@ztune.net>
Subject [PATCH] apr_threadpool
Date Tue, 22 Aug 2006 20:50:10 GMT
Hi,

Attached please find the latest patch to support thread_pool(the last 
one had a bug and cannot be merged cleanly), which has two enhancement 
from earlier patch:

1. Ownership support: Now when submit a task to the thread pool, an 
owner identity can be specified. Which can be used to remove all tasks 
belongs to that owner afterwards.

2. Timer: It is possible to schedule a task to be executed after a 
certain time interval. By doing another schedule within a task, that is 
basically a timer. Noted that scheduled tasks are with highest priority, 
and due tasks are always picked up first.

Comments are always welcome, and hopefully soon this can be committed.

Cheers,
Henry



Mime
View raw message