jiqing qiang

coldfire: why can't I use the sleep function?

Discussion created by jiqing qiang on Oct 12, 2006
Latest reply on Oct 13, 2006 by jiqing qiang
Hi all,

I'd like to use the sleep function in my code and I've found the definition of this function in the CW help:

unsigned int sleep(unsigned int sleep);

But when I tried to use this function in my code i can't compile it, getting link error "undefine funtion: sleep".

Am I doing something wrong? why can't I use this function?

Any ideas? I'm confused :/


Message Edited by CrasyCat on 2007-04-13 01:37 PM