10 likes | 165 Views
Lecture 7 review. Weak ordering memory consistence Relaxed memory consistence Relaxed program order Relaxed write atomicity Pthread How to compile a pthread program? How to create a new thread? When is a thread terminated? Does parent thread get to run before the child thread?
E N D
Lecture 7 review • Weak ordering memory consistence • Relaxed memory consistence • Relaxed program order • Relaxed write atomicity • Pthread • How to compile a pthread program? • How to create a new thread? • When is a thread terminated? • Does parent thread get to run before the child thread? • What happens when we call exit() in a thread?