You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Henry Jen <he...@ztune.net> on 2006/08/11 23:35:30 UTC

[PATCH] thread pool implementation again with owner and timer support

Hi,

Attached please find the latest patch to support thread_pool, which has 
two enhancement from previous 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