You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Brian Kim <09...@gmail.com> on 2009/08/26 06:34:50 UTC

[users@httpd] How to add a user-defined thread to apache module?

Hi. all.

I am currently working on mod_proxy & mod_proxy_http.

I would like to add my own thread to the apache. As I did in other
general program,

I tried to use POSIX threads programming(e.g.pthread_create), but it
does not seem to work.

The reason why I need that thread is to clean unusefuly memory and
move data in memory to disk.

Is there any general way of adding user-defined thread to apache source code?

Thanks.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org