01.06.2014 Views

Concurrent Systems II - Bad Request - Trinity College Dublin

Concurrent Systems II - Bad Request - Trinity College Dublin

Concurrent Systems II - Bad Request - Trinity College Dublin

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

POSIX Threads<br />

• POSIX Threads aka ‘pthreads’<br />

◾correspond to ‘Light Weight Processes’ (LWPs) in older literature.<br />

◾pthreads live within processes.<br />

◾processes have separate memory spaces from one another<br />

• thus, inter-process communication & scheduling may be expensive<br />

◾pthreads (within a process) share the same memory space<br />

• inter-thread communication & scheduling can be cheap<br />

3<br />

<strong>Trinity</strong> <strong>College</strong> <strong>Dublin</strong><br />

© Mike Brady 2007–2009

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!