Re: is popen thread safe?
- From: Donny Viszneki <donny viszneki gmail com>
- To: frederico schardong <frede sch gmail com>
- Cc: gtk-list <gtk-list gnome org>
- Subject: Re: is popen thread safe?
- Date: Fri, 14 May 2010 16:45:16 -0400
p2open() is also trivially implementable on your own, and you can do
away with libc FILE* i/o if that's your taste to. Here's how I did it:
http://code.google.com/p/gpsee/source/browse/gpsee_util.c#274
It's very similar to the OpenSolaris implementation, and probably
every other implementation.
On Thu, May 6, 2010 at 3:51 PM, frederico schardong <frede sch gmail com> wrote:
> Hi all,
>
> 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?
>
> --
> Thanks,
> Frederico Schardong,
> SOLIS - Open source solutions
> www.solis.coop.br
> Linux registered user #500582
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
--
http://codebad.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]