Using those functions during multithreaded evaluation is a sure way to have a race condition and crash.