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



Rockbox mail archive

Subject: How do I get a thread to sleep until a key is pressed?

How do I get a thread to sleep until a key is pressed?

From: TP Diffenbach <rockbox_at_diffenbach.org>
Date: Sun, 27 Jul 2003 13:04:31 -0400

I want a thread to sleep until a key is pressed. How can I do this?

Is there a guide to the kernel.c functions? Or do they work like functions of the
same name documenttd elsewhere (POISX, etc.)? queue_wait looks like a promising
function, and mutex_lock looks like a kludge that might work, but without a guide,
I'm not sure.

Thanks,
Tom

-- 
Archos FM has a Rockbox!
Received on 2003-07-27

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