Is popen safe to use with pthreads?
I've tried to google it, but I found no straight answer.
And in forums, some people claim it's not because it forks, while others say it's considered threadsafe(without giving a link to a trustable site), and other argues its safe because it forks and then immediately execs.
So what I hope is, does anyone here know for sure if it's safe to use popen with pthreads?