Add setName method to Thread. (#608)

This commit is contained in:
Timothy Solum 2022-08-06 06:37:21 -05:00 committed by GitHub
parent 3571917a2f
commit 89f41b9a35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,6 +116,10 @@ public class TThread extends TObject implements TRunnable {
return name;
}
public void setName(String name) {
this.name = name;
}
public final boolean isDaemon() {
return daemon;
}