Date: Fri, 06 Oct 2000 09:36:00 -0700 From: Cedric Berger <cedric@wireless-networks.com> To: Bruce Evans <bde@zeta.org.au> Cc: "Matthew N. Dodd" <winter@jurai.net>, Mark Murray <mark@grondar.za>, Jake Burkholder <jburkhol@home.com>, Boris Popov <bp@butya.kz>, freebsd-smp@FreeBSD.ORG Subject: Re: Problems with kthread_exit() and SMPng Message-ID: <39DDFF70.E09EB724@wireless-networks.com> References: <Pine.BSF.4.21.0010061628010.1977-100000@besplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans wrote: > > On Thu, 5 Oct 2000, Matthew N. Dodd wrote: > > > On Thu, 5 Oct 2000, Mark Murray wrote: > > > There is another problem; printf's inside a kthread corrupt like > > > crazy. They look very unthreadsafe. > > > > I've been thinking about a buffered printf. > > Ugh. printf has to be unbuffered so that it can be used for debugging. I'm not at all aware of how printf works on FreeBSD, but what about a "half-buffered" printf as it is found in most RTOS (i.e. the whole printf() message is buffered, with only a single I/O write() call at the end) ? Cedric To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39DDFF70.E09EB724>