Repository navigation
|
For example, thread1 calls StreamSend("aaa") and threads2 calls StreamSend("bbb") at the same time, to the same stream. |
Answered by
anrossi
Jul 26, 2025
Replies: 1 comment
|
The data provided in a given call to |
0 replies
Answer selected by
shit-lord
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The data provided in a given call to
StreamSendis serialized with respect to any other given call toStreamSendon the same stream, so you'll get "aaabbb" or "bbbaaa" depending on how the calls race each other and won't get "ababab".