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: How do I get a thread to sleep until a key is pressed?

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

From: Björn Stenberg <bjorn_at_haxx.se>
Date: Mon, 28 Jul 2003 00:46:37 +0200

TP Diffenbach wrote:
> I want a thread to sleep until a key is pressed. How can I do this?

button_get(true);

> Is there a guide to the kernel.c functions? Or do they work like functions
> of the same name documenttd elsewhere (POISX, etc.)?

Functions with POSIX names generally work like in POSIX. The others are documented in the, now rather out-of-date, docs/API file.

-- 
Björn
Received on 2003-07-28

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