Re: crash if fork(2) from another thread

2008-09-28 Thread Christopher Faylor
On Sun, Sep 28, 2008 at 05:49:30PM +0200, V??clav Haisman wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA256 > >Christopher Faylor wrote, On 28.9.2008 17:25: >> On Sun, Sep 28, 2008 at 09:32:39AM +0200, V??clav Haisman wrote: >>> -BEGIN PGP SIGNED MESSAGE- >>> Hash: SHA256 >>> >>> Hir

Re: crash if fork(2) from another thread

2008-09-28 Thread Václav Haisman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Christopher Faylor wrote, On 28.9.2008 17:25: > On Sun, Sep 28, 2008 at 09:32:39AM +0200, V??clav Haisman wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA256 >> >> Hirokazu Yamamoto wrote, On 28.9.2008 4:16: >>> # I've post mail, but it didn

Re: crash if fork(2) from another thread

2008-09-28 Thread Christopher Faylor
On Sun, Sep 28, 2008 at 09:32:39AM +0200, V??clav Haisman wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA256 > >Hirokazu Yamamoto wrote, On 28.9.2008 4:16: >> # I've post mail, but it didn't show up in >> http://www.nabble.com/Cygwin-f12165.html. >> # Maybe it was not good to attach a file. S

Re: crash if fork(2) from another thread

2008-09-28 Thread Hirokazu Yamamoto
> I think this is not allowed in here. You can only do async-signal-safe stuff > in the child. IO is AFAIK not in that category. Basically, the only thing you > can safely do in the child process is to call exec(). Thank you for reply. I found similar info in MacOSX doc. (in CAVEATS) http://devel

Re: crash if fork(2) from another thread

2008-09-28 Thread Hirokazu Yamamoto
> Why do people think that the fact that they sent email which never > made it to the list is interesting? > > Attaching a file is fine and is the preferred way of doing this. > Your problem is that you're using nabble. Use the actual > mailing list or gmane. Yes, I'm using actual mailing list. I

Re: crash if fork(2) from another thread

2008-09-28 Thread Spiro Trikaliotis
Hello Christopher, * On Sat, Sep 27, 2008 at 11:30:13PM -0400 Christopher Faylor wrote: > On Sun, Sep 28, 2008 at 11:16:21AM +0900, Hirokazu Yamamoto wrote: > ># I've post mail, but it didn't show up in > >http://www.nabble.com/Cygwin-f12165.html. > ># Maybe it was not good to attach a file. So tr

Re: crash if fork(2) from another thread

2008-09-28 Thread Václav Haisman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hirokazu Yamamoto wrote, On 28.9.2008 4:16: > # I've post mail, but it didn't show up in > http://www.nabble.com/Cygwin-f12165.html. > # Maybe it was not good to attach a file. So try again... > > I'm not familiar with pthread & fork, but I think fo