What is a race condition in concurrent programming?
-
A
Two threads competing to be scheduled first at startup
-
B
A bug where program outcome depends on the relative timing of thread execution
-
C
A deadlock involving more than two threads
-
D
A thread running faster than the scheduler allows