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 05:59:24 GMT
William A. Rowe, Jr. wrote:
> Henry Jen wrote:
>>  
>> +/**
>> + * Get owner of the task currently been executed by the thread. 
>> + * @param thd The thread is executing a task 
>> + * @param owner Pointer to receive owner of the task.
>> + * @return APR_SUCCESS if the owner is retrieved successfully
>> + */
>> +APR_DECLARE(apr_status_t) apr_thread_pool_task_owner_get(apr_thread_t * thd,
>> +                                                         void **owner);
> 
> the void* containing what(???)  Can we define an owner a bit more deliberately?
> 

It is the pointer passed in when push/top/schedule a task, simply a 
opaque pointer to present the owner of the task.

Cheers,
Henry

Mime
View raw message