2009/2/19 falistra <[email protected]>:
>
> Hi!
> i'am coding an adapter for mod_python apllications in order to run
> them under mod_wsgi.
> How do to obtain _apache._global_lock (unlock) functions inside
> mod_wsgi application environment?

No and you probably want to avoid using Apache global locks as that
was one source of continuing problems with mod_python. Specifically
locks weren't being released or in case of SYSV semaphores there
weren't enough allocated in kernel. End result was system running out
of SYSV semaphores.

For session support you would be much better off using a cross process
locking mechanism which doesn't rely on Apache underneath.

Happy to have more conversation on this as interested to see whether
mod_python APIs could be rehosted, but just be a bit patient as in
mega overload, shit hitting the fan type mode at work. :-)

Graham

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to