Date: Thu, 14 Nov 1996 09:31:31 +1100 (EST) From: John Birrell <jb@cimlogic.com.au> To: stesin@gu.net (Andrew Stesin) Cc: michaelh@cet.co.jp, hackers@freebsd.org Subject: Re: Programming technique for non-forking servers? Message-ID: <199611132231.JAA18214@freebsd1.cimlogic.com.au> In-Reply-To: <Pine.BSI.3.95.961113162044.14098B-100000@creator.gu.kiev.ua> from Andrew Stesin at "Nov 13, 96 05:03:40 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Andrew Stesin wrote: > But I have an impression that there's easier > to implement locking of shared memory and file > resources inside a single-process server than > with some kind of IPC. Sounds like a perfect application for POSIX threads. The initial thread accepts incoming connections, then creates a worker thread for each connection. We do our shared memory servers that way, however, we still use SysV shared memory. Regards, -- John Birrell CIMlogic Pty Ltd jb@cimlogic.com.au 119 Cecil Street Ph +61 3 9690 6900 South Melbourne Vic 3205 Fax +61 3 9690 6650 Australia Mob +61 18 353 137
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611132231.JAA18214>