Just a quick question on which I didn't find clear answer:
Is it completely safe to create C++ std::thread
s, in which I use pthread_mutex_t
for locking critical sections?
EDIT: Mutexes locks parts of code to be safe from race conditioning. So I think it should have nothing to do with the matter of choosing C or C++ threads.