Gentee Programming Language > Documentation > Libraries Download documentation

Threads

This library allows you to create threads and work with them. The methods described above are applied to variables of the thread type. For using this library, it is required to specify the file thread.ge (from Lib subfolder) with include command.

  • Methods
  • Functions

    Methods

    thread.createCreating a thread
    thread.getexitcodeGetting an exit code
    thread.isactiveChecking if a thread is active
    thread.resumeResuming a thread
    thread.suspendStopping a thread
    thread.terminateTerminating a thread
    thread.waitWaiting till a thread is exited

    Functions

    exitthreadExiting the current thread
    sleepPausing the current thread


     Copyright © 2004-2006 Gentee Inc. All rights reserved.