title: Are posix regcomp and regexec threadsafe? In specific, on GNU libc?
body: <p>Two separate questions here really: Can I use regexes in a multithreaded program without locking and, if so, can I use the same regex_t at the same time in multiple threads? I can't find an answer on Google or the manpages.</p>