Hi, Thanks, but that is not what I'm looking for.
I need to find out at runtime from within my code. Something like. if i_am_threaded: do_something_thread_safe else: do_something_thread_unsafe I suppose this is more a python question than a Django one. So sorry for the off topic. Best Regards On 2/4/07, Frédéric Roland <[EMAIL PROTECTED]> wrote: > > Hi, > > I found the answer here http://httpd.apache.org/docs/2.0/mpm.html > > in short just type > > ./httpd -l > > (Lower case "L") > > And you will see the list of all modules compiled in your apache server. > If you see prefork.c it should be ok. > > CC > > Jakub Labath a �crit : > > Hi, > > > > Is there a way to detect in my code if I'm running in prefork or threaded > > mode? > > > > Jakub > > > > > > > > > > > > > > > > > > > -- Jakub Labath --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---