create_full


Description:

[ Version ( deprecated_since = "2.32" , replacement = "new Thread<T> ()" ) ]
[ CCode ( simple_generics = true ) ]
public static unowned Thread<T> create_full<T> (owned ThreadFunc<T> func, ulong stack_size, bool joinable, bool bound, ThreadPriority priority) throws ThreadError

Warning: create_full is deprecated since 2.32. Use new Thread ().

This function creates a new thread.

Note:

The bound and priority arguments are now ignored. Use Thread.

Parameters:

func

a function to execute in the new thread.

stack_size

a stack size for the new thread.

joinable

should this thread be joinable?

bound

ignored

priority

ignored

data

an argument to supply to the new thread.

Returns:

the new Thread on success.