Subject: Re: tsleep
To: Mirian Crzig Lennox <email@example.com>
From: Jason Thorpe <firstname.lastname@example.org>
Date: 07/05/1999 11:21:05
On 05 Jul 1999 10:08:10 -0400
Mirian Crzig Lennox <email@example.com> wrote:
> Something I've been wondering about lately...
> Why does tsleep() take a hardcoded string as its mnemonic wchan value?
> I can't imaging this would be any more informative than a simple
> symbol address (especially since we only display the first 6 chars of
> it anyway), and it seems a bit of a waste of memory to have all those
> extra strings in the kernel image.
Having that string available is *really nice* sometimes, as it indicates
where the code is blocked, even though each thread may be blocked on a
unique wchan value.
-- Jason R. Thorpe <firstname.lastname@example.org>