Thread Verbs

  • thread.callScript - Call a script with parameters in a new thread.

  • system.compiler.threads - Track Frontier's active threads.

  • thread.easyCall - Spawn another thread.

  • thread.evaluate - Spawn a new thread.

  • thread.evaluateTo - Spawn a new thread, and place its return value in a location.

  • thread.exists - Determine if a thread with the specified ID exists.

  • thread.getCount - Count the number of threads in the threads list.

  • thread.getCurrentID - Get the ID of the current thread.

  • thread.getDefaultTimeSlice - Get the default time slice for the all threads.

  • thread.getGlobalAddress - Get the address of a script global variable

  • thread.getNthID - Get the ID of the nth thread.

  • thread.getStackDump - Get stack trace information for the current thread.

  • thread.getStats - Gets information about the currently running threads

  • thread.getTimeSlice - Get the default time slice for Frontier threads

  • thread.isSleeping - Determine if a thread is sleeping.

  • thread.kill - Terminate a thread.

  • thread.setDefaultTimeSlice - Set the default time slice for the all threads.

  • thread.setTimeSlice - Set the time slice for the current thread.

  • thread.sleep - Put a thread to sleep.

  • thread.sleepFor - Put a thread to sleep for a specified duration.

  • thread.sleepTicks - Put a thread to sleep for a specified number of ticks.

  • thread.wake - Wake up a thread.