FutureTask
FutureTask
Through the thread pool commit:
The Future fs1=executorService. Submit (future1);
The Future fs1=executorService. Submit (future2);
This is two different instances of FutureTask,
In FutureTask internal implementation, use a lot of CAS lightweight lock, this is no need to, different instances have concurrent?
Mystery,
Guide also looked down, troubled for a week, thank you