Remove references to "virtual" threads.

Java has essentially redefined this term, so let's avoid using it.
This commit is contained in:
player-03
2023-02-04 17:23:13 -05:00
committed by GitHub
parent 74b79f5c31
commit eb4a210a18

View File

@@ -307,7 +307,7 @@ import lime.utils.Log;
@param work A function that computes a value of type `T`.
@param state An argument to pass to `work()`. As this may be used on another thread, the
main thread must not access or modify `state` until the `Future` finishes.
@param mode Whether to use real threads as opposed to virtual threads. Virtual threads rely
@param mode Whether to use real threads as opposed to green threads. Green threads rely
on cooperative multitasking, meaning `work()` must return periodically to allow other code
enough time to run. In these cases, `work()` should return null to signal that it isn't finished.
@return A new `Future` instance.