t****t 发帖数: 6806 | 1 yes, busy waiting is essential for lock-free structures. no one says busy wa
iting should be used everywhere though.
and of course the idea is not new. in fact, every lock is internally impleme
nted with some kind of lock-free structures, using atomic operations. ultima
tely hardware guarantees an operation is atomic. |
|
w***g 发帖数: 5958 | 2 这种东西学术界折腾有几年了。Lock在性能上其实没那么不济。Lock free主要还是为
了程序写起来方便,性能上可能还不如lock。 |
|
d******0 发帖数: 3640 | 3 【 以下文字转载自 Linux 讨论区 】
发信人: dell3000 (dimension), 信区: Linux
标 题: OpenSuse在KDE下点击了lock screen之后,机器废了
发信站: BBS 未名空间站 (Mon Mar 13 10:17:49 2017, 美东)
有没有用OpenSuse的大虾?我在KDE桌面下,点开始
菜单(蜥蜴头),选择电源按钮,里面有log out,
lock screen,power off 等等,一旦选择了lock screen,
这机器就完旦了,症状就是等logout之后,再想login进
入图形desktop, 机器慢得无法使用,几十分钟才能完
成login过程,然后点一下鼠标需要十几分钟才见反映,
非得重装操作系统。这问题我从10.1到13.2都中过招儿,重
装过不下5次。有没有人遇到过类似问题,可知道解决办法?
多谢! |
|
w****e 发帖数: 1883 | 4 同意。试过各种distributed lock,最后发现用database最可靠。略微牺牲一点性能,
但是对于web来说一般没啥问题。
:lock应该是通过CPU的特殊寄存器实现一段代码的atomicity,多个server不知道是不是
:lock,你不怕慢,就用 MYSQL 搞个transactional counter,同步的核心就是TCP那套,
:握手,校验,sliding window. |
|
o**********e 发帖数: 18403 | 5 Locke says he doesn’t have any political aspirations. He’s working as a
consultant in the private sector, and has not left China behind.
“Helping Chinese companies set up operations and factories here, to helping
American companies grow and expand, and set up products and services into
China. [I’m] discussing now with several American and Chinese companies on
serving as an advisor.
“But we really need to also focus more on people-to-people relations, and
that’s one of the things that Mona and I ... 阅读全帖 |
|
|
|
w*******y 发帖数: 60932 | 8 Link:
http://www.locodeal.com/
Features:
# Designed for the purpose of opening locked doors of both domestic and
foreign vehicles
# For better knowledge of door locking system, consult your vehicle
manufacturer's maintenance and parts manual before using tools
Contents:
# 1-pc. 18" x 3/4" Slim Jim
# 1-pc. 20" x 1" Slim Jim
# 1-pc. Wire form "S" hook
# 1-pc. Slide lock tool
# 1-pc. "Wonder Tool"
# 1-pc. plastic coat hanger
# 1-pc. Gas cap tool
# 2-pc. Plastic wedges
|
|
w*******y 发帖数: 60932 | 9 Got these as a impulse buy and been having SO much fun. Started with front
door Master Lock (easy) and just started working on my WRX (tougher). If you
are bored and looking for a hobby this is a pretty good life skill to
develop. After I get better I'm going to try making my own out of paper
clips!
Link:
http://www.dealextreme.com/details.dx/sku.16417
Here's the video turtorial for master lock. You can search for whatever kind
of lock you want on Youtube
http://www.youtube.com/watch?v=rVYS8R5Xq |
|
w*******y 发帖数: 60932 | 10 (Please delete if this is a repost)
PCWorld Exclusive: Laplink's PC Lock Secures Notebook PCs (FREE Today only--
Save $30)
While Windows' user data encryption is fine for most users, laptop owners
might want a bit more control over the security of their data. After all,
laptop theft is on the rise worldwide. Laplink:
http://www.pcworld.com/downloads/search?qt=laplink
's PC Lock:
http://www.laplink.com/pclocklaunch
utility (free today, $15 the rest of this week, $30 with a 30-day trial
thereaft... 阅读全帖 |
|
|
w*******y 发帖数: 60932 | 12 Plum District has a national deal today that offers $50 of credit at Lock &
Lock for $23.:
http://www.plumdistrict.com/moms/discount/everywhere/home-and-g
The Fine Print
May not be applied to taxes & shipping
Not valid for gift certificates
Must have at least $50 in cart to receive discount
No cash or credit back
No store credit for returned product; exchange only
No partial refunds accepted
Voucher valid only at Link:
http://www.locknlockplace.com/
Must create an... 阅读全帖 |
|
|
w*******y 发帖数: 60932 | 14 Kershaw Asset Serrated Folding Lock Back Serrated Knife:
http://www.amazon.com/gp/product/B004SGTM3S?smid=ATVPDKIKX0DER
Product Features
Pocket knife with SpeedSafe assisted opening via built-in flipper or
handy thumbstud
High-quality 8CR13MOV stainless steel blade with partially serrated edge
Textured, glass-filled-nylon handle for a secure grip
Overall length of 7-7/8 inches (4-5/8 inches when closed)
Locking liner and pocket clip
3 1/4 inch blade
4 5/8 inches in cl... 阅读全帖 |
|
w*******y 发帖数: 60932 | 15 Got an email that today through Dec 23rd, Lock N Lock Gift Cards are 55% off.
No coupon is needed and price changes in cart.
Gift card WILL NOT arrive by Christmas and the deal is good until 12/23.
Hope this helps someone.
Take care and Happy Holidays!
$200 card for $90 (This is an E-gift card, not a physical one)
Link:
http://www.locknlockplace.com/index.php/locknlockplace-gift-car USA E-mail Newsletter&utm_campaign=ca8e98cfee-2011122012_19_2011&utm_medium=email
($100 card for only $45. (This... 阅读全帖 |
|
w*******y 发帖数: 60932 | 16 Finally its back
Lock&Lock is having storewide 50% sale. Coupon code is WINTERFEVER
Exceptions: Gift cards, Happy hour items, past purchases.
Cannot be combined with other coupon codes including daily deals.
There are lots of items already on special prices and this half off coupon
code makes it a sweet deal. Their items are of good quality. You just need
to be patient with their shipping.
|
|
g******y 发帖数: 2517 | 17 亚马逊Deal of the Day: Save Up to 60% on Select Lock&Lock Container Sets
http://amzn.to/ywYhL3 |
|
|
w*******y 发帖数: 60932 | 19 This Mystery Box deal is valid 2-16 through 2-21. To sweeten the deal, Lock
and Lock will fill every 4th box with $60 worth of containers. Their
containers are very nice quality.
Link:
http://www.locknlockplace.com/index.php/mystery_box
|
|
|
o*****D 发帖数: 1563 | 21 没那么夸张的
我觉得这样比较可行
还有就是,春运小站不要停
只停大站
区间的选择会少很多
哪怕lock,也不用lock那么长时间 |
|
w********n 发帖数: 4752 | 22 昨天和美国人聊天,忽然注意到他们stop的发音和我以前想象的不一样。
就让他们慢一点发,我操,结果发现美国英语里面stock, stop,lock, sock
发的都是长音a: (啊),查网上字典,发现英国英语发的是我们熟知的短音stɒp.
麻痹的中国垃圾英语老师教个鸡巴的英国英语啊,教也没教好,也没有教
伦敦腔,教的是乱七八糟的英语。
很震撼,居然连stop, lock ,stock,hot 这样每天都用的单词都发错音了。
美国人读clock不是克劳克,而是克啦克。中间那个拉还是长音,我操。 |
|
m*********t 发帖数: 858 | 23 中国那些所谓英语老师99%根本没见过老外,都是在师范混几年就出来骗小孩了,你能指
望什么。
昨天和美国人聊天,忽然注意到他们stop的发音和我以前想象的不一样。
就让他们慢一点发,我操,结果发现美国英语里面stock, stop,lock, sock
发的都是长音a: (啊),查网上字典,发现英国英语发的是我们熟知的短音stɒp.
麻痹的中国垃圾英语老师教个鸡巴的英国英语啊,教也没教好,也没有教
伦敦腔,教的是乱七八糟的英语。
很震撼,居然连stop, lock ,stock 这样每天都用的单词都发错音了。
美国人读clock不是克劳克,而是克啦克。中间那个拉还是长音,我操。 |
|
h***0 发帖数: 1184 | 24 我联系了两家,A给我的estimate比B高。B到现在都没有给我正式的estimate,说是必
须lock in rate以后才给,只是给了我口头上的estimate,interest rate和closing
cost都要比A低。
但是
1. A已经fully underwritten,我还有3个礼拜就要close,所以A时间上没有问题。但B
还需要我提交资料在审核,所以时间上我不太确定
2. A家可以matchB家offer,但是需要B的正式的estimate。但到现在B还没给我
我现在倾向A家,想等B家给了我正式的offer就让A match。但是B家已经lock in rate
,不知道这样以后换有没有问题。我现在在B家什么也没有签,只是提交了资料,签了
一个e delivery的字。谢谢 |
|
|
E*****5 发帖数: 1068 | 26 这智商!凡是听见LOCK,所有人都已经下意识想到LOCK HER UP |
|
d********9 发帖数: 3927 | 27 闯王自己决定不 lock her up了。你们这么喜欢打闯王的脸?每天穿 lock her up
tshirt 提醒大家闯王竞选的时候撒谎了? |
|
w********e 发帖数: 277 | 28 如果有老太婆和其它猪党,Pelosi/Shummer, 密谋,LOCK THEM UP |
|
p******n 发帖数: 2449 | 29 FBI: New Evidence From Anthony Weiner Will See Clinton ‘Locked up for Life
Leave a reply
weinerBaxter Dmitry – Anthony Weiner is ready to “sing like a bird” and
provide damning information about Bill and Hillary Clinton and the Clinton
Foundation in return for the FBI dropping child pornography charges against
him, according to sources at the agency.
A Federal Court hearing on March 7 was postponed after FBI agents requested
more time to work with Weiner on tying the Clintons and associates to... 阅读全帖 |
|
发帖数: 1 | 30 再等等,福林就要被lock up,说不定哪天Trump也要被lock up了. |
|
|
t**********r 发帖数: 882 | 32 Holy shit, what do you lock me up for?
Mike Flynn |
|
p******n 发帖数: 2449 | 33 我早就知道你们不是真想lock Hillary up.
我是。
你们敢想把西拉丽lock up 吗?
这个版面,没几个人真想抓西拉丽。
不抓西拉丽,美国完蛋!
: 乱扣帽子到挺快的
|
|
a*****i 发帖数: 4391 | 34 President Obama is likely to announce former Washington governor Gary Locke
as his choice for Commerce Secretary this week, a senior administration
official said. Locke was the first Chinese-American governor in U.S. history. |
|
y*******3 发帖数: 71 | 35 本人95TOYOTA/Corolla, 近150000迈时,毛病不断. 先是有一天,启动后发现,不能从P挡
换出(anti-lock system), 只好使用手动release, 就是打开P挡边小孔盖子,用镙丝刀
揿下时,换出P挡. 到修车铺一问,老板说可能是有根cable坏了,修一下要300刀. 本人
寻思太贵,加上车子挺老,遂作罢. 过了段时间,发现表盘指示灯也不亮了. 最可气的是,
尾灯,刹车灯,high mount light通通不亮了. 去修车铺问,答曰, 电路有问题,检查要2
小时,35刀, 修至少3小时,费用再说. 由于当天没时间,就回来了.
后来, 到了周末,决定DIY一下再说. 先打开手册, 找到有关保险丝部分. 读了以下, 发
现有一个保险丝控制尾灯,刹车灯,仪表盘灯和anti-lock system, 大喜. 于是,按图索
骥, 找到了保险丝,发现有两个保险丝烧坏了. 接着打开尾灯座,发现有一个刹车灯炮
底部的两个金属接触点熔合了(一个管尾灯,一个管刹车). 还有两个灯座看上去有问题(
左右各一个).是买来了保险丝和刹车灯, 我就开始试.. 先换下坏灯, |
|
|
m******t 发帖数: 44 | 37 左边的side mirror整个都换了
回来之后发现驾驶员一侧门上的power lock按钮就不灵了
但是副驾驶的power lock按钮还正常工作
其他remote什么的都正常
请问大概是什么原因呢?应该去找修车铺的人么?
谢谢 |
|
m**d 发帖数: 21441 | 38 outlander四轮驱动有三个模式,2wd,4wd(前轮70%后轮30%),lock(前轮后轮各50%)
今天测试了一把
在公路上开和前轮驱动没有啥区别
这个lock模式是真的么?还是只有前轮打滑时候才工作? |
|
q***q 发帖数: 402 | 39 没有 center diff,那这个diff lock lock的是色木东西呢 |
|
s****o 发帖数: 6 | 40 RT:
本人两辆车,现在都有点小毛病,想询问一下修理这些部件的大概花费:
1、power door lock actuator(仅一扇门的actuator需要更换)
2、door handle(both outside and inside, 1 door w/o power lock)
3、Front brake pads
4、洗车(exterior only)和打蜡(非DIY)大约多少钱。Detailing又大概要多少?
thanks a bunch |
|
s****r 发帖数: 2386 | 41 Hi,
I have a 2001 Honda accord, the trunk lock can be opened without any
problem before, yesterday while I am opening it using the latch inside below
the driver's seat, my son was goofing around sitting on top of the trunk,
then I found out when I put the key in the trunk lock, it cannot turn ( the
master key can insert deeper, the valet key seems have trouble to insert
deep). I can still open it from the latch under the driver's seat. Is
there any way to fix this?
Thanks |
|
|
d***a 发帖数: 13752 | 43 就是这么回事,看看车行下轮子的速度就知道了。熟练的小偷,大概五分钟能把四个轮
子都卸下来。
Wheel lock的作用就是给小偷造一点麻烦,也许小偷就跳过这辆车了。要是小偷铁了心
要偷,那也是没有办法了。我知道MDX的wheel lock,一共有十种pattern,小偷把十种
key都买齐全就行了。 |
|
w***o 发帖数: 46 | 44 请问一下以前车都是开起来一会就auto lock了,然后停车之后把钥匙拔出来就全部四
个门都unlock了。
但是现在也不auto lock了,也不auto unlock了。
是自己有什么地方需要弄一下还是要去dealer哪里啊?
谢谢谢谢谢谢 |
|
c*******s 发帖数: 1501 | 45 2005 Pontiac Grand Prix
用Remote或者是power door lock switch都不能开关左后门
只能手动拔或者按那个lock pin来开门或者锁门
一般这是啥问题呀?修这个贵不? |
|
o******d 发帖数: 679 | 46 一年以前买了一辆旧328, 每个轮胎上都一个 wheel lock, 当时没注意没有key,今天
去discount tire 换轮胎,结果他们试了店里所有的key都不行,然后我只好去bmw
dealer, 结果他们试了所有的key也拿不下来,说可能不是OEM的,然后去了别的tire
shop 用universal lock remover 硬拧也不行。dealer的tech 说可能是 mcgard的。
有经验的大侠帮忙看看吧,该咋办?
多谢了
花纹是 梅花型的
照片传不上拉,太慢了 |
|
m**********e 发帖数: 12525 | 47 大部分wheel lock都是高强度不锈钢的,强度非常大,普通钻头根本钻不下来,
要用碳化钨的,一个碳化钨钻头好几十块钱,投资太大,这还没算买电钻的钱,
所以除非你象他一样是开shop的,不然完全不实用.
最佳办法是在menard买个dremel的9910号碳化钨cutter,10块钱:
http://www.dremel.com/en-us/Accessories/Pages/ProductDetail.asp
然后去买个menard自己牌子的最便宜的rotary tool,10多块钱,然后用这个玩意沿
wheel lock 四周切割,把圆形外形切成六角形的,不需要精确,大致象就行了,然后敲
一个socket进去,就能拧出来了.
对了,最后提一下,这碳化钨切刀真是削铁如泥,除了金刚钻,就这玩意最好用了,
不出几分钟就切好了. |
|
m*****u 发帖数: 1342 | 48 Had a flat tire yesterday. Tried to take off the flat tire, found out one
bolt is different from the other 4: that one is locked. Called AAA. They
asked me check the glove compartment to see if there is a key to the lock. I
found it. I removed the flat tire.
Initially I put on the spare on the wrong way (Inside out). When I tried to
drive, I coud hear the noise. Had to do it all over again. Eventually I got
it right.
Today I took the car to garage and they fixed the flat tire. |
|
c********m 发帖数: 571 | 49 如果lock就那么几种,这个lock有什么意思呢?
真是小偷的话,这几种不是太easy了么 |
|
I*D 发帖数: 40035 | 50 靠, 你真误导,这个叫Wheel lock key。原厂的可以拿VlN#去dealer定购一个,如果
是after market的可能就得用特殊的Sockct把lug nut lock都卸下来扔掉,买一套新的
…… |
|