Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~78 People Reached
Favorite Forums
Favorite Tags
java x 1
Member Avatar for snow_1

when I read FutureTask's run method, I found it use cas to set runner variableļ¼Œ public void run() { if (state != NEW || !UNSAFE.compareAndSwapObject(this, runnerOffset, null, Thread.currentThread())) return; try { Callable<V> c = callable; if (c != null && state == NEW) { V result; boolean ran; try { …

Member Avatar for JamesCherrill
0
78