From owner-freebsd-doc Sun Mar 24 23:36:14 1996 Return-Path: owner-doc Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA26623 for doc-outgoing; Sun, 24 Mar 1996 23:36:14 -0800 (PST) Received: from melb.werple.net.au (melb.werple.net.au [203.9.190.18]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id XAA26569 for ; Sun, 24 Mar 1996 23:34:05 -0800 (PST) Received: (from uucp@localhost) by melb.werple.net.au (8.7.5/8.7.3) id SAA08730 for mira!freebsd.org!doc; Mon, 25 Mar 1996 18:34:01 +1100 (EST) Message-Id: <199603250734.SAA08730@melb.werple.net.au> >Received: by cimaxp1.cimlogic.com.au; (5.65/1.1.8.2/10Sep95-0953AM) id AA32187; Mon, 25 Mar 1996 18:34:12 +1100 From: John Birrell Subject: Re: POSIX thread docs To: atrad.adelaide.edu.au!msmith@melb.werple.net.au (Michael Smith) Date: Mon, 25 Mar 1996 18:34:12 +1100 (EST) Cc: atrad.adelaide.edu.au!cimaxp1!jb@melb.werple.net.au, freebsd.org!doc@melb.werple.net.au, freebsd.org!julian@melb.werple.net.au, cimlogic.com.au!jb@melb.werple.net.au In-Reply-To: <199603250704.RAA28981@genesis.atrad.adelaide.edu.au> from "Michael Smith" at Mar 25, 96 05:34:26 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-doc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Thanks for the work! Now I have to find something to use threading for 8) Ahh, that's easy. Should go well with __ > | > -- | > ]] Mike Smith, Software Engineer | msmith@atrad.adelaide.edu.au [[ > ]] Genesis Software | genesis@atrad.adelaide.edu.au [[ > ]] High-speed data acquisition and \_| (GSM mobile) 0411-222-496 [[ > ]] realtime instrument control / (ph/fax) +61-8-267-3039 [[ > ]] Collector of old Unix hardware. "Where are your PEZ?" The Tick [[ > We provide network access to devices with threaded programs. Take a PLC interface like Allen-Bradley KF2. Connect that box via a serial port to a threaded server program that has the initial thread waiting for clients to connect via sockets. Leave a thread listening to the serial port. For each socket connection, create a client thread. Works _much_ faster than forking or trying to handle multiple clients in a single thread. And all without stressing the OS. -- 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