[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Nanosleep for freemint?
- To: mint <mint@lists.fishpool.fi>
- Subject: Re: [MiNT] Nanosleep for freemint?
- From: David Gálvez <dgalvez75@gmail.com>
- Date: Sun, 20 Jun 2010 15:10:51 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=1o4Dzj/llHqWqa2TDaCv1XwJUGjxAsF3bJZmEv8xN5Q=; b=o2sK9y2tbCBIXBUgJCfKeDo4no97zpM+hEisDnFgT558U+TNAXA+dJdACwPC3LIvNf BZqmKA8f/yzdE8+bqRGtE/cuvCX5xDQsspUftf3UWHNGS2Gjflmn3YvGaGvE00EAWX6a SGkZYemsUa+/tYfmVYi7jUwN7J1yhlRXDuhF4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=FUk/ewhZrWURgqjAGCSCmc+5qE9VszyLsKPkyr1X+CitWDTVE+P+yN5l2KOQDNZoS0 bQWIHHM8Oz3KYurz+u/ZEK5mCA/AohFh7EvOQy2ndQdZrZuI86UUyVELvRc88kufIqhJ V6f2ZNgRtdgdS7WeTNhvjWoOQ0T4V+KWVe9gY=
- In-reply-to: <2526c94bdc087fef16ae0be0809a859c-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUBFBDBTXF5bVkYJXl5oBlY6XF1YRkUBV19fRQ==-webmailer2@server02.webmailer.hosteurope.de>
- List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
- List-id: <mint.lists.fishpool.fi>
- List-owner: <mailto:tjhukkan@fishpool.fi>
- List-post: <mailto:mint@lists.fishpool.fi>
- List-subscribe: <mailto:mint-request@lists.fishpool.fi?Subject=subscribe>
- List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
- References: <2526c94bdc087fef16ae0be0809a859c-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUBFBDBTXF5bVkYJXl5oBlY6XF1YRkUBV19fRQ==-webmailer2@server02.webmailer.hosteurope.de>
- Sender: mint-bounce@lists.fishpool.fi
2010/6/20 m0n0 <ole@monochrom.net>:
>
> Hello there,
>
> does anyone know about an freemint alternative to nanosleep? I need a
> solution that can sleep for 100 milliseconds. I could use GEM evnt_timer,
> but that requires appl_init() ...
You have in mintlib "usleep" function:
http://sparemint.org/cgi-bin/cvsweb/mintlib/posix/usleep.c?rev=1.2&content-type=text/x-cvsweb-markup
http://sparemint.org/cgi-bin/cvsweb/mintlib/include/unistd.h?rev=1.13&content-type=text/x-cvsweb-markup