Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I detect a thread exit on MMLite?

detect mmlite thread
0
Posted

How do I detect a thread exit on MMLite?

0

If you are searching for an analogy to NTs WaitForSingleObject(hThread, ), you search in vain. To synchronize on a thread, one must use mutexes and condition variables. Threads exist but not as synchronization objects (you cannot wait for a thread to finish like you can in NT). There are many examples in the test directory of programs written with multiple threads. Barrier synchronization is one popular way. In general, writing code to handle your threads instead of handling your data is a poor, non-scalable, error-prone way to do things.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123