apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henry Jen <henry...@ztune.net>
Subject Re: [PATCH] apr_threadpool
Date Thu, 04 Jan 2007 01:47:13 GMT
William A. Rowe, Jr. wrote:
> Henry,
> thank you for your submission.
> http://svn.apache.org/viewvc?view=rev&revision=492362
> Please remember, the API is flexible until 1.3.0 (or 2.0.0) is tagged and
> released, at which point the new files become subject to the (rather strict)
> versioning rules.

Hi Bill,

Happy 2007! This is great, thank you for all the help to get this committed.

Attached is a small patch, it includes two modifications:

1. Fix the assert, which should only for preventing task from owner 
itself calling cancel.

2. Add a apr_thread_pool_task_owner_get API to retrieve the owner of the 
task. This is convenient and can, in many cases, eliminate the need to 
create a structure to use as parameters.


View raw message