CS代写 COMP 3430 Guderian

Operating Systems
COMP 3430 Guderian

Copyright By PowCoder代写 加微信 powcoder

What are the perks of threads?

Are they actually faster than processes?

Are they actually faster than processes?

How do we communicate with threads
We have shared memory How do we prove this to ourselves?

Get shared_mem.c from the content tool, and we¡¯ll play with that

But is it safe?
What could possibly go wrong?
Let¡¯s divide up some work… Let¡¯s count up to INT_MAX using two threads.

That didn¡¯t go well at all… we need to lock. What is a lock? Why?

Lock, signal, wait

程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com