Re: [us...@httpd] Issue with APR APIs

2010-09-02 Thread Pravesh Rai
Even we thought of this (using apr_thread_create) initially, but later realized that we can't achive time-bound functionality with this, similar to what we've in Windows - WaitForSingleObject(). Thanks, PR On Thu, Sep 2, 2010 at 3:23 AM, William A. Rowe Jr. wrote: > On 9/1/2010 6:12 AM, Pravesh

Re: [us...@httpd] Issue with APR APIs

2010-09-01 Thread William A. Rowe Jr.
On 9/1/2010 6:12 AM, Pravesh Rai wrote: > Hi, > > Observed that, if we use following set of functions: > > subrequest = ap_sub_req_lookup_uri( webapp->sChpUrl, r, r->output_filters ); > ap_run_sub_req( subrequest ); > ap_rflush( subrequest ); > ap_destroy_sub_req( subrequest ); > > in a thread

Re: [us...@httpd] Issue with APR APIs

2010-09-01 Thread Nick Kew
On Wed, 1 Sep 2010 16:42:13 +0530 Pravesh Rai wrote: > Hi, > > Observed that, if we use following set of functions: > > subrequest = ap_sub_req_lookup_uri( webapp->sChpUrl, r, r->output_filters ); > ap_run_sub_req( subrequest ); > ap_rflush( subrequest ); > ap_destroy_sub_req( subrequest ); >

[us...@httpd] Issue with APR APIs

2010-09-01 Thread Pravesh Rai
Hi, Observed that, if we use following set of functions: subrequest = ap_sub_req_lookup_uri( webapp->sChpUrl, r, r->output_filters ); ap_run_sub_req( subrequest ); ap_rflush( subrequest ); ap_destroy_sub_req( subrequest ); in a thread [using CreateThread() on Windows OS], every execution of thes