Quantcast
Channel: User Sinatr - Stack Overflow
Viewing all articles
Browse latest Browse all 609

Comment by Sinatr on Using a static AsyncLocal for an "AsyncFlowId"

$
0
0
_asyncFlowId.Value should be thread safe, according to docs: "AsyncLocal<T> instances can be used to persist data across threads". The changes from other thread shouldn't be seen, no need to sync.

Viewing all articles
Browse latest Browse all 609

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>