Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Feb 2014 11:27:45 +0800
From:      Erich Dollansky <erichsfreebsdlist@alogt.com>
To:        jackywgw <jackywgw@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: system() call causes core dump
Message-ID:  <20140211112745.24c9c399@X220.alogt.com>
In-Reply-To: <1392088040255-5884936.post@n5.nabble.com>
References:  <7B9397B189EB6E46A5EE7B4C8A4BB7CB327D117F@MBX03.exg5.exghost.com> <4AEC5E02.8040705@FreeBSD.org> <1392088040255-5884936.post@n5.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Mon, 10 Feb 2014 19:07:20 -0800 (PST)
jackywgw <jackywgw@gmail.com> wrote:

> Hi, I encounter the same problem, Can you tell me if I need to excute
> shell command in multi-threaded programs, how should we do since we
> can't use system? thanks
> 
you have to use semaphores to serialise the calls.

Erich



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140211112745.24c9c399>