What is this code snippet from threads.cpp supposed to do? That looks either useless or wrong: ThreadManager::~ThreadManager() { #ifdef _THREADS --> if (trylock()) --> unlock(); --> else --> unlock(); #endif } Ciao Dominik ^_^ ^_^