[`strtok`](http://en.cppreference.com/w/c/string/byte/strtok) isn't threadsafe:

> Each call to this function modifies a static variable: is not thread safe.