Virtual thread: Difference between revisions

Content deleted Content added
Line 15:
* '''Virtual Threads are preemptive'''
** This is important for response performance, that the virtual thread can react to events without programmer intervention or before concluding a current task
** Preemption requires knowledge of multi-threaded programming to avoid teared writes, data race and invisible writes by other threads
 
* '''Virtual Threads can hop over the execution units of all processors and cores'''