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
|