0

Lets imagine situation:

thread_1 put value to map (it continues from time_1 to time_4)

thread_2 want to read value from same segment(request was send at time_2)

thread_3 want to put value to same segment at time_3.

Is there guaranties about ordering of these operations?

P.S.
time_1 happens before time_2
time_2 happens before time_3
time_3 happens before time_4
[![enter image description here][1]][1]

enter image description here

gstackoverflow
  • 36,709
  • 117
  • 359
  • 710

0 Answers0