Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

HX + FPC 2.2.2 == trouble (DOSX)

posted by Japheth(R) Homepage, Germany (South), 21.12.2008, 14:59

> > That is new for me, since afaik on windows, sleep is directly passed to
> > windows.
> >
> > What is sleep(-1) supposed to do according to you?
>
> It paused thread execution. Just waiting infinite time.

But sleep(-1) is no "trick", it's documented. -1 is the value of INFINITE, defined in the Win32 SDK.

---
MS-DOS forever!

 

Complete thread:

Back to the forum
Board view  Mix view
15112 Postings in 1359 Threads, 247 registered users, 15 users online (0 registered, 15 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum