Date: Mon, 15 Sep 1997 08:56:38 +0200 (MET DST) From: Luigi Rizzo <luigi@labinfo.iet.unipi.it> To: mike@smith.net.au (Mike Smith) Cc: jmg@freebsd.org, cvs-committers@freebsd.org, cvs-all@freebsd.org, cvs-sys@freebsd.org Subject: Re: cvs commit: src/sys/i386/isa/snd - Imported sources Message-ID: <199709150656.IAA01948@labinfo.iet.unipi.it> In-Reply-To: <199709150644.QAA00618@word.smith.net.au> from "Mike Smith" at Sep 15, 97 04:14:00 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> The entire snd module is useless now that Peter has committed the > select->poll changes; it can't be built. I am trying to figure out the difference between select and poll, it does not appear to be anything substantial, i.e. just a change in arguments in ("events" instead of "rw") and out ("revents" instead of 0/1). Is there any documentation somewhere ? On passing, it seems that sequences like the following (from pcaudio.c, a similar thing is in asc.c) would be much easier to read if replaced by selrecord(p, &pca_status.wsel ). if (pca_status.wsel.si_pid && (p1=pfind(pca_status.wsel.si_pid)) && p1->p_wchan == (caddr_t)&selwait) pca_status.wsel.si_flags = SI_COLL; else pca_status.wsel.si_pid = p->p_pid; Cheers Luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709150656.IAA01948>