Function t__

Assigns a name to a thread.

If no name is provided, it generates a name based on the number of threads.

If no threadIdParam is provided, it uses the current thread ID.

  • Parameters

    • Optionalname: string = undefined

      The name for the thread. Defaults to t%d where %d is the number of threads.

    • OptionalthreadIdParam: number = undefined

      The ID of the thread. Defaults to the current thread ID.

    Returns void