2 ms·
Java had green threads since the beginning. That's where the term "green threads" came from and why there's a yield() method.
by kragen 1y ago
Java had green threads since the beginning. That's where the term "green threads" came from and why there's a yield() method.
- frollogaston 1y agoAn early Java version had greenthreads, but they were soon removed in like the year 2000. That's pretty much the reason all our Java code at work uses some kind of cooperative multitasking with that painful promises syntax (foo().then(...))