apache 2 - can module create own threads?

This is a discussion on apache 2 - can module create own threads? within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi guys ! I have a tricky question. I know, that this is probably not about configuration, so sorry for being ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-04-2004
skoco
 
Posts: n/a
Default apache 2 - can module create own threads?

Hi guys !
I have a tricky question. I know, that this is probably not about
configuration, so sorry for being this post a little bit off-topic,
but I can hope here that some Apache gurus will read my post :-)
Imagine you are writing a module for Apache 2, where you want to
create own thread inside that child created by Apache core itself. Is
this possible ? The reason why I am asking this is :
1) a client contacts a server with some request
2) inside Apache child of the module - create an own thread which is
waiting for other process which is doing the real work to satisfy the
request
3) that client gets an immediate response of type - 'your request is
being processed', but we want to have to connection still open to send
the client the real response which is got from another - non Apache
process - which is doing the real work

Any ideas? I am not sure, but isn't apache killing it's child once the
child sends reply back to client? Like when in step 3), the child
sends response 'we are working on it' - isn't that child killed after
this, so no other 'real' response can be done?

Thanks a lot for some ideas. Thanks also, if you give me an link to
some example dealing with similar problem. And, of course, thanks for
some nice links to other forums where do you think somebody can answer
this question.

skoco
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:10 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0