system() call causes core dump

Erich Dollansky erichsfreebsdlist at
Tue Feb 11 03:28:39 UTC 2014


On Mon, 10 Feb 2014 19:07:20 -0800 (PST)
jackywgw <jackywgw at> 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.


More information about the freebsd-questions mailing list