Changeset 16053 for trunk/FACT++


Ignore:
Timestamp:
05/22/13 22:38:41 (12 years ago)
Author:
tbretz
Message:
Added some note...
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/scripts/doc/Thread.js

    r14696 r16053  
    2121 * ("throw null;"). To terminate the script with an exception
    2222 * 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.
    2329 *
    2430 * @param {Integer} timeout
Note: See TracChangeset for help on using the changeset viewer.