retrieve
Retrieves the updated thread object from the given thread.
This method returns a new thread object wrapper. The thread parameter is used only for Thread.id. This method is useful for getting updated information about a thread's status or values.
Return
The retrieved thread
Parameters
thread
The thread to retrieve
Retrieves the thread with the given id.
Return
The retrieved thread
Parameters
id
The id of the thread to retrieve