Rockbox mail archiveSubject: Re: Classic holdswitch polling
Re: Classic holdswitch polling
From: Michael Sevakis <jethead71_at_comcast.net>
Date: Sat, 10 Mar 2012 17:53:46 -0500
>> pthread has mutex_trylock() for this case. Maybe worth having it too?
>> Best regards.
> I could get the same functionality out of mutex_lock_w_tmo(&mutex, 0)
> without much more to it than implementing a simple try and without any
Stilly me. Prio inheritance has to be undone if the wake is implicit, which
is a bit more complex but not needed with a test function or 0 wait
Received on 2012-03-10