由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - 碰到一道题
相关主题
g 家面经LinkedIn 电面
一道电话题爆个L家面静吧
how to code this question of LinkedIn求助 odd 和 multithread 的复习
F家电面新鲜电面经
电面问题说起做题 (转载)
LI面试题: 实现Blocking QueueC++ linux 线程面试题
一道涉及OO,算法,多线程的设计题为什么说semaphore是一种进程间的通信方式。
贡献一道湾区小公司的面试题 Medalliasingle producer single consumer issue
相关话题的讨论汇总
话题: queue话题: producer话题: consumer话题: lock话题: shared
进入JobHunting版参与讨论
1 (共1页)
s**x
发帖数: 7506
1
差不多的题目,竟然被两个人问了。
one queue shared by one producer, one consumer thread,
how to avoid using a lock?
d*******d
发帖数: 2050
2
用个queue处理producer and consumer

【在 s**x 的大作中提到】
: 差不多的题目,竟然被两个人问了。
: one queue shared by one producer, one consumer thread,
: how to avoid using a lock?

a**********k
发帖数: 1953
3
lock-free data structure.

【在 s**x 的大作中提到】
: 差不多的题目,竟然被两个人问了。
: one queue shared by one producer, one consumer thread,
: how to avoid using a lock?

d******e
发帖数: 2265
4
问的好深。
想了想:笨法子,busy waiting or semaphore.
查了一下书:可以用member barrier (violate ) + interlocked.exchangecompare
来解决,queue是circular queue.

【在 s**x 的大作中提到】
: 差不多的题目,竟然被两个人问了。
: one queue shared by one producer, one consumer thread,
: how to avoid using a lock?

1 (共1页)
进入JobHunting版参与讨论
相关主题
single producer single consumer issue电面问题
麻烦谁给贴一个producer-consumer的面试题LI面试题: 实现Blocking Queue
F家面经一道涉及OO,算法,多线程的设计题
Re: 一道count frequency of all words的面试题 (转载)贡献一道湾区小公司的面试题 Medallia
g 家面经LinkedIn 电面
一道电话题爆个L家面静吧
how to code this question of LinkedIn求助 odd 和 multithread 的复习
F家电面新鲜电面经
相关话题的讨论汇总
话题: queue话题: producer话题: consumer话题: lock话题: shared