<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<style type="text/css">
/* Quote Levels Colors */
blockquote.cite { color: navy !important; background-color: RGB(245,245,245) !important;
}
blockquote.cite blockquote.cite { color: maroon !important; background-color: RGB(235,235,235) !important;
}
blockquote.cite blockquote.cite blockquote.cite { color: green !important; background-color: RGB(225,225,225) !important;
}
blockquote.cite blockquote.cite blockquote.cite blockquote.cite { color: purple !important; background-color: RGB(215,215,215) !important;
}
blockquote.cite blockquote.cite blockquote.cite blockquote.cite blockquote.cite { color: teal !important; background-color: RGB(205,205,205) !important;
}
</style>
</head>
<body>
Does anybody know what threading model is used in Scilab 6 alpha? I
am referring to the default mode of operation, and not while
executing parallel_for, or MPI as described here
(<a class="moz-txt-link-freetext" href="http://wiki.scilab.org/Documentation/ParallelComputingInScilab">http://wiki.scilab.org/Documentation/ParallelComputingInScilab</a>).<br>
<br>
If there are multiple core threads that execute concurrently, then
all api-scilab code needs to be written in a thread-safe re-entrant
safe manner. I doubt this is the case. <br>
<br>
If there is one core thread alive at any point, it would make sense
for this to remain the same thread, which does not appear to be the
case. If not the same thread, any application that depends on
apartment threaded COM objects or thread local storage will no
longer function as it did in Scilab 5. The solution may be to
synchronize such applications over a private thread, but that surely
will come at a performance cost.<br>
<br>
Having some idea about the threading model that is intended and used
would be helpful.<br>
<br>
Best wishes, <br>
<br>
Jasper.<br>
<br>
<div class="moz-cite-prefix">On 7/31/2015 18:35, jasper van baten
wrote:<br>
</div>
<blockquote class=" cite" id="mid_55BBA3E6_4080903_amsterchem_com"
cite="mid:55BBA3E6.4080903@amsterchem.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<style type="text/css">#mid_55BBA3E6_4080903_amsterchem_com blockquote.cite { color: navy ! important; background-color: rgb(245, 245, 245) ! important; }
#mid_55BBA3E6_4080903_amsterchem_com blockquote.cite blockquote.cite { color: maroon ! important; background-color: rgb(235, 235, 235) ! important; }
#mid_55BBA3E6_4080903_amsterchem_com blockquote.cite blockquote.cite blockquote.cite { color: green ! important; background-color: rgb(225, 225, 225) ! important; }
#mid_55BBA3E6_4080903_amsterchem_com blockquote.cite blockquote.cite blockquote.cite blockquote.cite { color: purple ! important; background-color: rgb(215, 215, 215) ! important; }
#mid_55BBA3E6_4080903_amsterchem_com blockquote.cite blockquote.cite blockquote.cite blockquote.cite blockquote.cite { color: teal ! important; background-color: rgb(205, 205, 205) ! important; }
</style> All,<br>
<br>
What's the story with threading in Scilab 6? Whereas previous
versions appeared to be single threaded from an external DLL point
of view, I see that the DLLmain function gets called by a one
thread, whereas interface routines get called from another thread.
Worse, looks like each interface routine call is made from a new
thread. What is the threading model?? Is there a limited number of
threads, or are threads created on the fly?<br>
<br>
Thanks, best wishes, <br>
<br>
Jasper<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>