9- Strategies for Thread Safety
2:50
3 ဟောပြောသူ
2 အခန်းများ
63 ပိုင်း
ဟောပြောသူ
အခန်းများ
-
0:03အခန်း 1: We have a few strategies for writing thread safe code. 138s · Speaker 2
We have a few strategies for writing thread safe code. That is code that can be safely executed across multiple threads. The simplest solution is not to share data across threads in the first place. This is called confinement because we wan…
-
2:22အခန်း 2: And finally, another strategy is partitioning data into segments that can be accessed concurrently. 25s · Speaker 3
And finally, another strategy is partitioning data into segments that can be accessed concurrently. Java provides a number of collection classes that support concurrency using partitioning. So multiple threads can access a collection object…