new_thread: Creates a new thread object and starts its main routine.

Description Usage Arguments Value

Description

Creates a new thread object and starts its main routine.

Usage

1

Arguments

fun

Main thread routine.

data

User data passed to fun.

Value

The identifier of the newly created thread.


lbartnik/thread documentation built on May 20, 2019, 8:27 p.m.