Do you have a example of this?

2010/5/6 Max Kellermann <[email protected]>:
> On 2010/05/06 21:51, frederico schardong <[email protected]> wrote:
>> I'm trying to add the popen in a thread (using g_thread_create()) but
>> it keep frozen my application. So, is popen thread safe? there is
>> another simple alternative if it isn't?
>
> popen() is not thread safe, unless you use the GNU specific option "e"
> for enabling close-on-exec.  But that causes just fd leaks, and is
> probably unrelated to a possible freeze (unless the sub process drains
> the fd).
>
> Max
>



-- 
Thanks,
Frederico Schardong,
SOLIS - Open source solutions
www.solis.coop.br
Linux registered user #500582
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to