Thread::getCurrentThreadIdentification Description
public static Thread Thread::getCurrentThread()
Return a reference to the currently executing Thread ParametersThis function has no parameters. Return ValuesAn object representing the currently executing Thread Examples
Example #1 Return the currently executing Thread The above example will output:
object(My)#2 (0) {
}
|