mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-11-06 16:33:00 +00:00
A couple of minor cleanups on the last commit
- Remove a redundant logger - Provide a getter for the ComputerCraft thread group. This allows us to monitor child threads within prometheus. - Replace a deprecated call with a fastutils alternative.
This commit is contained in:
@@ -21,6 +21,16 @@ public final class ThreadUtils
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the base thread group, that all off-thread ComputerCraft activities are run on.
|
||||
*
|
||||
* @return The ComputerCraft group.
|
||||
*/
|
||||
public static ThreadGroup group()
|
||||
{
|
||||
return baseGroup;
|
||||
}
|
||||
|
||||
/**
|
||||
* Construct a group under ComputerCraft's shared group
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user