bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pthread_mutex_trylock() "blocks" when it should not


From: alvin
Subject: Re: pthread_mutex_trylock() "blocks" when it should not
Date: Wed, 03 Apr 2002 09:50:26 -0500

Ulrich Drepper wrote:
> 
> On Wed, 2002-03-27 at 01:09, Paul Davis wrote:
> 
> > However, in the code for pthread_mutex_trylock(), an attempt is made
> > to acquire the "spinlock" for the mutex. If this fails, we call
> > sched_yield()
> 
> What code are you talking about?  What configuration?
> 

If memory serves me correctly this is a patch for MySQL. 


-- 
Alvin Starr                   ||   voice: (416)785-4051
Interlink Connectivity        ||   fax:   (416)785-3668
address@hidden              ||



reply via email to

[Prev in Thread] Current Thread [Next in Thread]