SynchronousQueue中TransferStack原理详解

SynchronousQueue中非公平模式使用的是TransferStack,它与TransferQueue类似

只是TransferQueue是LILO模式,TransferStack是LIFO模式

same_mode模式,入队

put 

take

fulfill_mode模式,pop出队

put

take

原文地址:https://www.cnblogs.com/toUpdating/p/10116070.html