Virtual thread: Difference between revisions

Content deleted Content added
Line 21:
 
* '''Virtual threads require no yield or similar interventions by the programmer'''
** Virtual threads appear to execute continuously until they return or stop at a synchronization lock
** Unlike coroutines, if a virtual thread is in an infinite loop, it does not block the program. Execution continues at a higher cpu load, even if there are more looping threads than available execution units