Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Rockbox mail archive

Subject: Re: Classic holdswitch polling

Re: Classic holdswitch polling

From: Michael Sevakis <jethead71_at_comcast.net>
Date: Sat, 10 Mar 2012 17:46:15 -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
restrictions.

Mike
Received on 2012-03-10

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy