[clug] threads v processes

Bob Edwards bob at cs.anu.edu.au
Fri Sep 7 01:48:03 MDT 2012


On 6/09/12 7:40 PM, steve jenkin wrote:
> Has anyone out there in CLUG-land used POSIX thread libraries and
> willing to help me understand a small design point about them?
>
> I was reading a paper by Rob Pike and he mentions:
>
>   - Processes need to lock shared memory because they *can* execute in
> parallel (simultaneously)
>
>   - threads within a single process don't ever execute simultaneously.
>
>
> Does anyone know if this is right with Linux on multi-core processors??
>
> Thanks in Advance
>
> steve jenkin
>

Tridge is someone "out there in CLUG-land" (he started CLUG) and has had
something to say on this topic:
http://www.samba.org/~tridge/talks/threads.pdf
(linked from his home page at http://www.samba.org/~tridge )

Probably written more recently (2008) than Rob Pike's paper...

Cheers,

Bob Edwards.


More information about the linux mailing list