Date: Sun, 1 Mar 1998 21:54:22 +1100 From: Bruce Evans <bde@zeta.org.au> To: bde@zeta.org.au, michaelh@cet.co.jp Cc: eivind@yes.no, fs@FreeBSD.ORG, jlemon@americantv.com Subject: Re: syncer / SMP question Message-ID: <199803011054.VAA09758@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>> >This is about half the code of the previous version, and to me it is >> >much clearer than before. >> >> It seems to make one case simpler. How would you handle a return from >> inside the loop, like the one in getfsstat()? Requiring a single exit >> point is not an option :-). > >goto out; Not an option :-), and leaves mp locked (which you can't know about since its locking is hidden in the loop macros). In general, you would need macros for all sorts of abnormal loop exits. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803011054.VAA09758>