Microsoft SDK for Java

SystemThread Class Constructors

The SystemThread class contains the following constructors.

SystemThread()
SystemThread(String name)
SystemThread(Runnable target)
SystemThread(Runnable target,String name)

SystemThread()

Creates a new SystemThread object. This constructor has the same effect as making the following call when group is the system thread group:

Thread(group, null , null)

Syntax

public SystemThread();

See Also

java.lang.ThreadGroup, java.lang.Runnable, java.lang.String

SystemThread(String name)

Creates a new SystemThread object. When group is the system thread group, this constructor has the same effect as making the following call:

Thread(group, null , name)

Syntax

public SystemThread(String name);

Parameters

name The name of the new thread.

See Also

java.lang.ThreadGroup, java.lang.Runnable, java.lang.String

SystemThread(Runnable target)

Creates a new SystemThread object. When group is the system thread group, this constructor has the same effect as making the following call:

Thread(group, target, null)

Syntax

public SystemThread(Runnable target);

Parameters

target The object whose run method is called.

See Also

java.lang.ThreadGroup, java.lang.Runnable, java.lang.String

SystemThread(Runnable target, String name)

Creates a new SystemThread object. When group is the system thread group, this constructor has the same effect as making the following call:

Thread(group, target , name)

Syntax

public SystemThread(Runnable target, String name);

Parameters

target The object whose run method is called.
name The name of the new thread.

See Also

java.lang.ThreadGroup, java.lang.Runnable, java.lang.String

© 1999 Microsoft Corporation. All rights reserved. Terms of use.