[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: semaphore and spin locks
thanks Thomas,
abt system-clock im really sorry..
there is something wrong with my RTC so even if i adjust my clock it will
still lag behind
..so till i find something concrete abt it pls bear with me..
regards
atul
> -----Original Message-----
> From: Thomas Hofer [mailto:th@monochrom.at]
> Sent: Monday, August 06, 2001 5:19 PM
> To: atul; to_kbies
> Subject: Re: semaphore and spin locks
>
>
> You wrote (Dienstag, 10. Oktober 2000 07:00):
>
> > Since a process has to busy wait on spin-lock, what if 2 or more
> > processes get stuck on the same spin lock, which process will be
> > allowed to enter the critical region..??
>
> The lucky one that comes first - the hardware decides. I think there's
> no guarantee for a process not to starve.
>
> Atul, please adjust your system-clock.
>
> Thomas.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.kernelnewbies.org/