[clug] threads v processes

steve jenkin sjenkin at canb.auug.org.au
Thu Sep 6 03:40:43 MDT 2012

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

Steve Jenkin, Info Tech, Systems and Design Specialist.
0412 786 915 (+61 412 786 915)
PO Box 48, Kippax ACT 2615, AUSTRALIA

sjenkin at canb.auug.org.au http://members.tip.net.au/~sjenkin

More information about the linux mailing list