Run/EM-Algorithm — comment on commit 6b9696a4af54ae3e08273100aba859e32f54f575
File: miscellaneous.c line 39
By davelv:

There are so many Non Thread Safe functions in traditional C library ，be careful.
You can use the advanced edition which always add a suffix "_r" after the ordinary name , ie. strtok_r().