[freespace2] nanosleep on OS X
Monty Walls
mwalls at pollux.tzo.net
Mon Aug 12 23:58:19 EDT 2002
On Mon, 12 Aug 2002 09:50:43 -0400
tigital <tigital at mac.com> wrote:
> thanks ryan and dan,
>
> ...after updating the cvs last night, I was able to compile the
> project without errors! I don't know what the mveplayer stuff is
> used for, but I did look into the whole nanosleep() issue and found
> out the following:
>
> - nanosleep will be available with 10.2...until then there is a hack
> around it, because apparently it is "kind of" available, just no
> prototype...however, it's not as simple as adding a prototype to
> whatever file ya need to use it in; there are also some structs and
> definitions that need to be added to header files, but it's not clear
> to me which ones! (here I'm referring to a post on the
> darwin-development list)...
>
Can't you just use the standard hack (either wrapper arround 'usleep'
or 'select' mimicking nanosleep).
--
-Monty Walls (mwalls at pollux.tzo.net)
-
- My opinions are my own, my employer doesn't own this account.
More information about the freespace2
mailing list