Resource sharing

We have already covered this very point in the Resource sharing section earlier in the beginning portion of this chapter (re-read it, if required). The bottom line is this: thread creation is comparatively cheap as opposed to process creation (the same goes for destruction). Also, the memory footprint of a thread as opposed to a process is much lower. Thus, resource sharing, and the associated performance advantages, are obtained.

Get Hands-On System Programming with Linux 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.