Has anyone successfully used dmalloc libarary with pthread without reverting to enabling debugging when main has been executed already with dmalloc_debug_setup? Pete