Libertas OS API Documentation
    Preparing search index...

    Function Libertas_NewThread

    • Create a new thread

      Parameters

      • func: Function

        The thread entry function

      • ...args: any[]

        Arguments to the thread entry function.

      Returns number

      The thread handle.

      This operation is subject to system limit. Attempt to create threads exceeds the limit per task will raise an error.