apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henry Jen <henry...@ztune.net>
Subject [PATCH] thread pool implementation again with owner and timer support
Date Fri, 11 Aug 2006 21:35:30 GMT
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

Mime
View raw message