CST334 Module 5
What to Write in your Journal Entry Write a 1 - 2 paragraph description of what you learned this fifth week in CST 334 Topic: Concurrency
This weak took a look into multi-threading. Previously we covered how a CPU switches between multiple programs running at the same time -- with each program being allocated their own memory section, in contrast, different threads work on the same program and each share a memory space but each thread has its own individual stack. Past this we covered the possible difficulties with threads such as the threat of race conditions. Followed by the topic of locks which can help mitigate issues with threads being scheduled at almost random times by the OS.
Comments
Post a Comment