Hi,
I'm not certain if this is a bug, however I'm using an application
that uses signals from the operating system. When my program waits for a
signal in a while loop and performs a "sleep(1)" in the loop, it never
receives the signal (remains stuck in my loop) . However if I remove the
sleep(1), it works just fine, gets a signal and jumps out of the loop.
On the other hand, this application works fine with the sleep(1)
under SCO Unix. I believe this is a bug in sleep with Linux, is there
some other command I can call other than sleep to perform a delay? Is there
a valid reason as to why I shouldn't be using sleep?
I'm using Red Hat Linux 6.1 on a Dell Optiplex GX1 PIII 500 Mgz.
Please help me ASAP. Thank you
Regards,
Sergio Gazzola
(514) 832-3544
RAD/WAN -Software Development
Eicon Technology