> Obviously depending on the C calls involved, some are re-entrant and some > are not, and that makes a rather large difference too. You don't want to > call strtok from two different threads (unless you have thread local storage > available, then it might be safe).
malloc? it should be available everywhere. while the heap is not thread-local, if the pointer to it is on the stack, functions like strtok may be used. - erik
