Mercurial > pymonkey
comparison docs/rendered/pymonkey.html @ 119:d30576edf797
Added notes on thread safety to documentation.
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Mon, 17 Aug 2009 22:36:42 -0700 |
parents | 06269ca0b36c |
children | 4705522c7431 |
comparison
equal
deleted
inserted
replaced
118:00e874d9a6a7 | 119:d30576edf797 |
---|---|
311 <dt id="pymonkey.Runtime"> | 311 <dt id="pymonkey.Runtime"> |
312 <em class="property"> | 312 <em class="property"> |
313 class </em><tt class="descclassname">pymonkey.</tt><tt class="descname">Runtime</tt><a class="headerlink" href="#pymonkey.Runtime" title="Permalink to this definition">¶</a></dt> | 313 class </em><tt class="descclassname">pymonkey.</tt><tt class="descname">Runtime</tt><a class="headerlink" href="#pymonkey.Runtime" title="Permalink to this definition">¶</a></dt> |
314 <dd><p>Creates a new JavaScript runtime. JS objects created by the runtime | 314 <dd><p>Creates a new JavaScript runtime. JS objects created by the runtime |
315 may only interact with other JS objects of the same runtime.</p> | 315 may only interact with other JS objects of the same runtime.</p> |
316 <p>With few exceptions, objects belonging to a runtime can currently | |
317 only be used in the same thread that the runtime was created | |
318 in. This may be changed in the future, since SpiderMonkey itself | |
319 has support for thread safety.</p> | |
316 <dl class="method"> | 320 <dl class="method"> |
317 <dt id="pymonkey.Runtime.new_context"> | 321 <dt id="pymonkey.Runtime.new_context"> |
318 <tt class="descname">new_context</tt><big>(</big><big>)</big><a class="headerlink" href="#pymonkey.Runtime.new_context" title="Permalink to this definition">¶</a></dt> | 322 <tt class="descname">new_context</tt><big>(</big><big>)</big><a class="headerlink" href="#pymonkey.Runtime.new_context" title="Permalink to this definition">¶</a></dt> |
319 <dd>Creates a new Context object and returns it. Contexts are best | 323 <dd>Creates a new Context object and returns it. Contexts are best |
320 conceptualized as threads of execution in a JS runtme; each one | 324 conceptualized as threads of execution in a JS runtme; each one |