My Professional Profile

I am Johnson Augustine Sr.Software Engineer and System Architect. I have 10 Yrs of hands on expertise in ASP.net MVC 5 , Angular 5 , C# MVC Razor, WPF MVVM , Android , IOS Swift 3 , IOS11 MSSQL,MySQL Database,,PHP,C/C++/Visual C++/G++/QT++,Com,DirectX,Open CV,EMGU CV , embedded System Development , [Raspberry PI]. ,html,Javascript,Jquery,Ajax.CSS , Networking ,Cyber security, Ethical Hacking You can see my professional profile at http://linkedin.com/in/johnsontaugustine Email : johnsonaugustine@live.com

Saturday, 18 May 2013

Difference between sleep and usleep

Difference between sleep and usleep

 sleep() will suspend the process for a specified second  , The input of sleep will be in seconds[integer value only]

Eg : sleep(10);

usleep() will suspend the process for a specified micro second  .

eg : usleep(2000);  // it will waits for two milli seconds

1sec = 1000 Milli Sec
1 Milli sec = 1000 Micro Sec

No comments:

Post a Comment

Note: only a member of this blog may post a comment.