-
Couldn't load subscription status.
- Fork 407
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The documentation says "...to avoid std::terminate exception. Use the ThreadRAII class for creating threads which will ensure that the thread gets joined before destruction". Please remove this and also remove ThreadRAII because it produces segfaults. std::terminate exception that you are trying to avoid points out the place in code that is not implemented correctly. It gives a full callstack as well. Compare this to a typical use of ThreadRAII:
A member;
ThreadRAII thread; // thread calls member
member destroys -> thread runs in join() -> segfault with unknown address/pure virtual call
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working