C++ boost threads are locking GUI thread in MFC

177 views Asked by At

does boost threading has a way to wait for threads to complete without blocking message pump of GUI?

1

There are 1 answers

0
marom On

Don't put things in that way. Wait means blocking, so answer is no. If I understood correctly your question my advice is to do the opposite: when your thread is done call PostMessage to the window you want notify with some custom message.