no way to calculate hash of `fiber::id`
Opened this issue · 0 comments
anton-potapov commented
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