Re: > Re: Linux threads -- as seen in NT Magazine

Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 16 Dec 1998 01:50:37 +0000 (GMT)


> This sounds rather arbitrary. Is there a rule to follow here?

Yep - play with it and see. Theres a volume of papers on self tuning locking
systems, and the summary appears to be "its hard, gimme some more research
money".

> How do you spin lock briefly? You mean break it on a timer?

on a loop count probably. The point of the spin is that most lock events
are a few microseconds wide and not worth a syscall over

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/