...
In this execution order, it is expected that the two tasks (t1 2 and t2) 3 started using doSomething2()
will observe the current day as Monday, however, because pool thread 1 is reused (, t3) observes the day to be Friday .
...
...
In this execution order, it is expected that the two tasks (t1 2 and t2) 3 started using doSomething2()
will observe the current day as Monday, however, because pool thread 1 is reused (, t3) observes the day to be Friday .
...