[Javanetsim-cvs] IceScan/icesockets sock_time.h,1.3,1.4
Status: Beta
Brought to you by:
darkkey
From: Alexander B. <da...@us...> - 2006-12-15 16:35:36
|
Update of /cvsroot/javanetsim/IceScan/icesockets In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv4778/icesockets Modified Files: sock_time.h Log Message: no message Index: sock_time.h =================================================================== RCS file: /cvsroot/javanetsim/IceScan/icesockets/sock_time.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** sock_time.h 15 Dec 2006 15:27:57 -0000 1.3 --- sock_time.h 15 Dec 2006 16:35:29 -0000 1.4 *************** *** 4,9 **** #include "sock_types.h" ! void icesleep(int secs, int nsecs){ ! struct timespec ts; ts.tv_sec = secs; --- 4,13 ---- #include "sock_types.h" ! void iceusleep(unsigned long usec){ ! usleep(usec); ! } ! ! void icesleep(int secs, int nsecs = 0){ ! struct timespec ts; ts.tv_sec = secs; |