uThreads icon indicating copy to clipboard operation
uThreads copied to clipboard

uThread-local storage

Open samanbarghi opened this issue 9 years ago • 1 comments

Support uThread-local storage similar to thread-local storage

samanbarghi avatar Sep 07 '16 13:09 samanbarghi

On 07/09/16 03:27 PM, Saman Barghi wrote:

Support uThread-local storage similar to thread-local storage

Do you believe this is necessary? thread-local can be fast, but only if it works off of a segment register (fs on x64). However, this register can only be explicitly read/written inside the kernel. Also, this would most likely require compiler support. I don't think we can effectively support this in a library.

martinkarsten avatar Sep 07 '16 15:09 martinkarsten