Record
Sunday, November 2, 2014
Portable Sleep using select()
Put NULL to the fds lists and set the timeval parameter - this allows the process to sleep for a specific time period. As select() is implemented in most systems, it become a portable way for sleep.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment