Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.forth Subject: Re: Unfeasible? Date: Fri, 04 Dec 2015 21:13:42 -0800 Organization: A noiseless patient Spider Lines: 15 Message-ID: <87bna5eaux.fsf@nightsong.com> References: <87r3j3dlxc.fsf@nightsong.com> <313aca34-5010-4add-91ae-ca23920bc417@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="560a36ee31cc4bcf69e115b311f0cc5c"; logging-data="20304"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18QWCjN84hGW3WsNf2zZwS0" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:2tKiAzhXeIdSSazaGCu0+2Sy7CM= sha1:N88az5lfm8gT8MzhYEtfx4p51WQ= Xref: csiph.com comp.lang.forth:44073 Julian Fondren writes: > Then I got into the industry and it's CGI-handled PHP from one > horizon to the other. Typically it's mod_php in apache or php/fastcgi in nginx. >> flock(2) ? > Nah. Linux is available. Ok, what do you have in mind? I do have some vague memory of a new kernel service to deliver sequence numbers, but can't find any info and might be imagining it. I guess you could use mmap or shm with appropriate protection but that's not a lot different from using flock.