thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rush Manbert <>
Subject Re: popen() / fork()
Date Fri, 19 Feb 2010 14:12:58 GMT
Hi Patrick,

I can't think of any limitations imposed because you're in a thread managed by the Thrift
library. The threads are just POSIX, so whatever caveats there might be about spawning a child
process in a pthread would apply, but nothing else.

Are you seeing problems?

- Rush

On Feb 19, 2010, at 2:16 AM, Patrick Schlangen wrote:

> Hi,
> is it safe to launch an external process by fork()/exec() or popen() from inside a TThreadedServer
thread (from inside a service method implementation)?
> Thanks in advance!
> Patrick

View raw message