2013年7月1日
摘要: 书续上回:实现无锁栈与队列(1)对于下面这个看起来很美好的无锁栈: 1 //无锁的栈。 2 3 typedef ELEM int; 4 #define MAX (2048) 5 6 static ELEM Stack[MAX]; 7 static int top = 0;... 阅读全文
posted @ 2013-07-01 13:20 twoon 阅读(4073) 评论(4) 推荐(0) 编辑