Hi Bruce,

* Bruce Evans <b...@optusnet.com.au> wrote:
> I wouldn't use an implementation anything like FreeBSD's.  printf()s
> must be serialized, and once printf() is serialized there is no need
> for buffering or cnputs(). 

Indeed. Just adding some synchronisation to printf() should also work
and is in my opinion the best solution. printf() should only be called
in exceptional cases, so taking the overhead of locking shouldn't really
matter there.

Unfortunately I am not planning on fixing this before the code freeze.
PRINTF_BUFR_SIZE really isn't beautiful, but it should be good enough
for now.

To be continued.

-- 
 Ed Schouten <e...@80386.nl>
 WWW: http://80386.nl/

Attachment: pgp0IeN2NS7Xo.pgp
Description: PGP signature

Reply via email to