https://www.jpct.net/wiki/index.php?title=Thread_safety&feed=atom&action=historyThread safety - Revision history2024-03-29T12:13:33ZRevision history for this page on the wikiMediaWiki 1.23.15https://www.jpct.net/wiki/index.php?title=Thread_safety&diff=636&oldid=prevAdmin: /* Thread safety */2015-03-02T13:06:39Z<p><span dir="auto"><span class="autocomment">Thread safety</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 13:06, 2 March 2015</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 3:</td>
<td colspan="2" class="diff-lineno">Line 3:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>jPCT as well as jPCT-AE aren't thread safe. This means that you are not supposed to manipulate jPCT related instances (like instances of World, Object3D...) from outside the render thread/method once the rendering has been started (setup work can be done in any thread of cause).</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>jPCT as well as jPCT-AE aren't thread safe. This means that you are not supposed to manipulate jPCT related instances (like instances of World, Object3D...) from outside the render thread/method once the rendering has been started (setup work can be done in any thread of cause).</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Be careful with your mouse/key/touch event listeners and don't let them access jPCT instances directly, because they usually don't execute in the same thread as the rendering does. It's good practice to let the event handler methods just set some flags and evaluate them in the render thread.</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Be careful with your mouse/key/touch event listeners and don't let them access jPCT instances directly, because they usually don't execute in the same thread as the rendering does. It's good practice to let the event handler methods just set some flags and evaluate them in the render <ins class="diffchange diffchange-inline">thread or use some event queue that will be processed in the rendering </ins>thread.</div></td></tr>
</table>Adminhttps://www.jpct.net/wiki/index.php?title=Thread_safety&diff=513&oldid=prevAdmin: Created page with '=== Thread safety === jPCT as well as jPCT-AE aren't thread safe. This means that you are not supposed to manipulate jPCT related instances (like instances of World, Object3D...…'2013-04-05T08:46:33Z<p>Created page with '=== Thread safety === jPCT as well as jPCT-AE aren't thread safe. This means that you are not supposed to manipulate jPCT related instances (like instances of World, Object3D...…'</p>
<p><b>New page</b></p><div>=== Thread safety ===<br />
<br />
jPCT as well as jPCT-AE aren't thread safe. This means that you are not supposed to manipulate jPCT related instances (like instances of World, Object3D...) from outside the render thread/method once the rendering has been started (setup work can be done in any thread of cause).<br />
<br />
Be careful with your mouse/key/touch event listeners and don't let them access jPCT instances directly, because they usually don't execute in the same thread as the rendering does. It's good practice to let the event handler methods just set some flags and evaluate them in the render thread.</div>Admin