annotate README-SDL.txt @ 1156:8521404a33c7
Date: Tue, 11 Oct 2005 16:58:12 +0300 (EEST)
From: =?ISO-8859-1?Q?Martin_Storsj=F6?= <martin@martin.st>
To: sdl@libsdl.org
Subject: [SDL] [PATCH] Use nanosleep on OS X
Hi,
The current version of SDL_Delay on OS X seems to always sleep at least 10
msec. OS X has nanosleep(), which performs shorter sleeps well. The
attached patch makes it use that one instead of select() as currently.
// Martin
author |
Ryan C. Gordon <icculus@icculus.org> |
date |
Tue, 11 Oct 2005 17:33:03 +0000 |
parents |
74212992fb08 |
children |
|
rev |
line source |
0
|
1
|
|
2 Please distribute this file with the SDL runtime environment:
|
|
3
|
|
4 The Simple DirectMedia Layer (SDL for short) is a cross-platfrom library
|
|
5 designed to make it easy to write multi-media software, such as games and
|
|
6 emulators.
|
|
7
|
|
8 The Simple DirectMedia Layer library source code is available from:
|
|
9 http://www.libsdl.org/
|
|
10
|
|
11 This library is distributed under the terms of the GNU LGPL license:
|
|
12 http://www.gnu.org/copyleft/lesser.html
|
|
13
|