*BSD News Article 3594


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!mips!mips!sdd.hp.com!zaphod.mps.ohio-state.edu!caen!uunet!stanford.edu!rock!banjo.concert.net!abc
From: abc@banjo.concert.net (Alan B Clegg)
Subject: Modified structure elements in 386BSD vs NET2
Message-ID: <1992Aug13.145542.17485@rock.concert.net>
Sender: news@rock.concert.net
Organization: Concert Network -- Internet Operations Group
Date: Thu, 13 Aug 1992 14:55:42 GMT
Lines: 23

While attacking some software, I happened to note the fact that struct tty
(/usr/include/sys/tty.h) is missing the three queues:

        struct  clist t_rawq;           /* queues */
        struct  clist t_canq;
        struct  clist t_outq;

Ring buffers are here instead:

        struct  ringb t_raw;            /* ring buffers */
        struct  ringb t_can;
        struct  ringb t_out;

What is the reasoning for this change?  I understand that the ringb's are
probably more compact, but they aren't standard (are they?) and yes, the 
clists are used in other software...

-abc
-- 
abc@concert.net				Alan Clegg - Network Programmer
KD4JML                               	MCNC -- Center for Communications
   CREDIMUS IN EXISTIMATIONEM INCOMPTAM ET TABULAS MANDATORUM CURRENTES
         I'm contaminated by BSDi source code, how about you?