Changeset 16053 for trunk/FACT++
- Timestamp:
- 05/22/13 22:38:41 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/scripts/doc/Thread.js
r14696 r16053 21 21 * ("throw null;"). To terminate the script with an exception 22 22 * throw a normal exception ("throw new Error("my error");"). 23 * 24 * Note that a running thread might consume all CPU. Although it is 25 * a seperated thread, JavaScript allows only one thread to run at 26 * a time (thus it can make programming simpler, but is not really 27 * consuming more CPU). In certain circumstances, it might be necessary 28 * to give CPU time with v8.sleep(...) back to allow other threads to run. 23 29 * 24 30 * @param {Integer} timeout
Note:
See TracChangeset
for help on using the changeset viewer.