[Scilab-Dev] Threads
Sylvestre Ledru
sylvestre.ledru at scilab-enterprises.com
Thu Mar 14 09:09:27 CET 2013
Hello Peter,
On 13/03/2013 19:10, Peter Senna Tschudin wrote:
> Hi,
>
> Following Scilab execution trace we found some calls to clone like:
> clone(child_stack=0,
> flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
> child_tidptr=0x7fd70de65a10) = 19955
> ...
> clone(child_stack=0,
> flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
> child_tidptr=0x7fd70de65a10) = 19981
>
> But we were not able to determine where in the code running on Linux
> the threads/processes were created. Can you help us?
Sure, it is in:
modules/console/src/c/GetCommandLine.c
The threads functions are most of the time defines on the thread
implementation (Unix or Windows). See:
modules/core/includes/Thread_Wrapper.h
Sylvestre
More information about the dev
mailing list