Created
June 24, 2017 05:45
-
-
Save fernandojinzenji/0624a038022c9c24bfe7b6bc1140d3e0 to your computer and use it in GitHub Desktop.
Week 4, Friday - Reading and Questions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Question 1: What is a deadlock? What happens to your application if you have a deadlock in it? | |
Deadlock occurr when a process A depends on the process B, and vice versa. This creates a dependecy cycle (called deadlock) | |
and makes your application unresponsive. | |
Question 2: In GDC, what is a barrier? Why would you want to use something like dispatchbarrierasync ? | |
A barrier in GDC acts like a bottleneck to create a queue in concurrent process and ensure that each one process is not | |
started until other is finalized. The command dispatchbarrierasync allow multiple reader blocks, but ensure that only one | |
write block is executed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment