Re: lighttpd+fastcgi+c: shared memory, semaphore.
CHENG LIANG <[email protected]> Thu, 14 Oct 2010 12:48:51 +0000
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
Thanks for reply. What I want to do is create ONE block shared memory and all fast cgi processes can access this ONE shared memory. The solution so far I have is to create a separated back end process to create and manage the shared memory, then all fast cgi processes can access it. I just wondering if I can create such shared memory inside lighttpd or fastcgi? Thanks. Cheng Liang Date: Wed, 13 Oct 2010 20:38:57 -0500 Subject: Re: [FASTCGI] lighttpd+fastcgi+c: shared memory, semaphore. From: [email protected] To: [email protected] CC: fastcgi-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org This page explains it well http://fscked.org/writings/SHM/shm.html On Wed, Oct 13, 2010 at 8:27 PM, CHENG LIANG <[email protected]> wrote: Hi, I am developing cgi program using c on lighttpd+fastcgi. How can I set up a shared memory which can be accessed by all fastcgi processes and protected by something like semaphore? _______________________________________________ FastCGI-developers mailing list FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org http://mailman.pins.net/mailman/listinfo.cgi/fastcgi-developers