Bug 000345

When Created: 10/14/2001 22:42:50
Against DJGPP version: 2.03
By whom:
Abstract: sleep() sleeps endlessly with DJGPP
#include <conio.h>

When using sleep() in DJGPP, it will not sleep for the amount of milliseconds. When I use sleep(1), it will sleep endlessly...
I've compiled it under Dev C++ and MS VC++ 6, and it works fine, so it seems that sleep() isn't working properly in DJGPP. Any solutions/fixes, >

Note added: 10/15/2001 14:38:04
By whom:
`sleep' accepts an argument measured in seconds, not in milliseconds.

5000 seconds might indeed look like an eternity...

I'm closing this report.

Closed on 10/15/2001 14:38:59: Not a bug, expected behavior
By whom:

  webmaster     delorie software   privacy  
  Copyright 2010   by DJ Delorie     Updated Jul 2010