fiber
fiber copied to clipboard
no way to calculate hash of `fiber::id`
There should be a way to calculate hash over fiber::id
(just like for std::thread::id
).
fiber::id
has a pointer to context, which can be used to calculate hash.
This can significantly simplify changing porting code from std::thread
to boost::fibers