Summary

This chapter has explored the use of using sleep functions and interval timers. The realtime timer provides your application with the capability to act with elapsed time. The virtual and profile interval timers allow your application to act when a certain amount of CPU time has been consumed by the current process. Frequently these are useful for interpreted languages.

The next chapter will look at how you can create new processes using pipes and the system(3) call.

Get Advanced UNIX Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.