, , , , ,

setTimeout (long)

public void setTimeout (long timeout)

Set the number of milliseconds that the system will wait before timing out the process if it is suspended.

Parameters

timeoutthe timeout value in milliseconds. If the value is –1 the process never times out.