Logo Search packages:      
Sourcecode: pcsc-lite version File versions

INTERNAL int SYS_Sleep ( int  iTimeVal  ) 

Makes the current process sleep for some seconds.

[in] iTimeVal Number of seconds to sleep.

Definition at line 81 of file sys_unix.c.

Referenced by SVCServiceRunLoop().

      struct timespec mrqtp;
      mrqtp.tv_sec = iTimeVal;
      mrqtp.tv_nsec = 0;

      return nanosleep(&mrqtp, NULL);
      return sleep(iTimeVal);

Generated by  Doxygen 1.6.0   Back to index