topics

全部话题 - 话题: safe
首页 6 7 8 9 10 (共10页)
C***y
发帖数: 2546
1
感觉所有method都要求thread-safe有点太过于over engineering了
r*******n
发帖数: 3020
2
正是因为多线程的web server framework存在,才
需要写thread safe program。
h***i
发帖数: 1970
3
ID跟问题不符合呀, 谁说python不需要学习thread safe.
s********k
发帖数: 6180
4
python使用thread已经out了,好的架构都是用event based,python针对的应用大部分
并不需要intensive的threading,否则要拿pthread直接写还好点。
不过thread safe确实程序员需要了解,OS的基本功之一
c****e
发帖数: 1453
5
能不能写出thread safe的代码一定程度上体现程序员"智商"。
p****n
发帖数: 69
6
It is understood that auto_ptr should not be used with STL container.
For example, it is seriously wrong to call sort from header to
sort a vector>, if the implementation uses quick sort and a
pivot, a copy of some element, is used.
Unique_ptr has the same feature of taking ownership when copying as auto_ptr
. I know that unique_ptr's assignment operator uses rvalue reference, but
the same problem in the above example remains: the pivot takes ownership of
some element, ... 阅读全帖
t****t
发帖数: 6806
7
yes, unique_ptr<> is container safe. the point is, if T is not movable, (e.g
. price of moving is too big), then you use a pointer for that.

ptr
of
w**z
发帖数: 8232
8
【 以下文字转载自 JobHunting 讨论区 】
发信人: wwzz (一辈子当码工), 信区: JobHunting
标 题: Europe's top court rejects 'Safe Harbor' ruling
发信站: BBS 未名空间站 (Wed Oct 7 00:40:26 2015, 美东)
这下马工有活干了。对amazon 好事吧,小公司没法自己在欧洲建DC的都有可能只用Aws
d****n
发帖数: 1637
9
来自主题: Programming版 - golang 一个thread safe singleton问题
not thread safe.
init(s) was called by the order of dependency tree.
if in same folder level, called alphabetical order.
e.g. if two init functions have concurrent writings to same map, then god
bless you.
BTW: you can avoid such thing happen by using sync.Mutex or concurrent map
in golang 1.9+
q*******u
发帖数: 5
10
来自主题: Security版 - How to know if my bbs account safe?
I did not use this account for a quiet while. I logined in a couple of
times today. Noticed that my subscribe boards are changed. There are
a lot of boards I never will be interested in.
I wonder if anyone have such experises. Is it some kind bug of the bbs
system or some used my account? Does this bbs support ssh? The telnet is
damn not safe.
z*******w
发帖数: 79
11
来自主题: Unix版 - C++ new/delete not thread safe?
I have a program with 2 threads running on Solaris using g++.
I noticed that I got core-dumped at one thread's:
new char[2];
gdb trace tell me it's inside malloc.
And I checked my program, it happend when one thread 1 send data
to another thread 2. In thread 1 it will delete some data, thread 2
will use new to create an instance.
After I comment the delete of thread 1, I got no core-dump at all.
So, I am very suspicious of g++'s new/delete is not thread safe.
Can somebody verify this? Th
m*****e
发帖数: 4193
12
来自主题: Unix版 - C++ new/delete not thread safe?
Haven't you just verified it?
I don't think any basic C++ operations are thread safe. It's your
business, not compiler's.
g****o
发帖数: 1284
13
来自主题: Unix版 - async-signal safe 问题
由于malloc()不是async-signal-safe的, 所以不能在signal handler里使用它. 但如果
在malloc()里用sigmask把所有信号都屏蔽掉, 也就是说它不会受到信号的干扰, 那是不
是就可以在singal handler里调用malloc了呢? 盼各位大侠赐教!
o***z
发帖数: 133
14
来自主题: Unix版 - async-signal safe 问题
if it's known that the signal didn't happen inside a POSIX function,
then it should be safe to call arbitrary POSIX functions inside a handler.
a****e
发帖数: 40
15
Hi,
I have some problems with removing the external usb hd using "Safely
Remove the Drive" on the system tray.
Sometimes, a pop-up window says "Can not stop the drive because
another applciation is accessing it", even after I close ALL applications.
Is there anyway to figure out which program/process is using the drive
? Or other solution to this problem.
Both my XP Home and XP Pro have this problem.
Thanks a lot!
l******l
发帖数: 8
16
来自主题: Windows版 - Windows behaves as in Safe Mode, help!!
I restarted windows xp in normal mode, but the system behaves as in safe mode.
Most programs, which should be loaded while starting up, appear at the right
bottom corner, did not show up.
I tried to launch MS office word, I got warning message as:
t******g
发帖数: 1136
17
来自主题: Windows版 - 关于"safely remove hardware"的问题
WinXP Pro 系统。
我有一个flash drive, 我想通过右下方的
safely remove hardware把这个闪存取下来,
以前都可以。但现在总告诉我the device cannot stopped right now.
我已经把所有打开的文件 的关了。
大家能帮我看看可能是什么问题?
谢谢。
s********1
发帖数: 581
18
来自主题: Windows版 - win7 safe mode/clean boot都不能上网
win7 safe mode/clean boot都不能上网
但是ping yahoo.com却完全正常。请问哪位高人,可能是什么原因?
谢谢!
s*****t
发帖数: 1994
19
来自主题: Astronomy版 - Life Safe From Supernovas?
http://sciencenow.sciencemag.org/cgi/content/full/2002/1126/1
Life Safe From Supernovas?
Space is full of threats to life, especially asteroids that smack into Earth. An even more explosive
hazard looms in deep space: supernovas, which can unleash enough radiation to zap our
life-shielding ozone layer. However, a new study, accepted for publication in the Astrophysical
Journal, concludes that a supernova must blow up within 25 light-years of Earth to w
e**s
发帖数: 513
20
来自主题: Biology版 - Is SYBR Safe DNA gel stain good?
Does anybody use SYBR® Safe DNA gel stain? I am looking for a substitute
for Ebr. Please give some recommendations. Thanks a lot!
a*****a
发帖数: 312
21
来自主题: Biology版 - Is SYBR Safe DNA gel stain good?
per my boss:
SYBR dyes are new and there is insufficient study on whether they are safe.

substitute
l******g
发帖数: 372
22
来自主题: CivilEngineering版 - 请教一个SAFE软件的问题
正在用SAFE V12设计elevated slab 和 MAT foundation. 请问如何将elevated slab 的
reaction导入到 MAt foundation的设计当中?
非常感谢。
z**********6
发帖数: 68
z**********6
发帖数: 68
L******k
发帖数: 33825
25
来自主题: Education版 - PFLAG NYC Safe Schools Program
【 以下文字转载自 QueerNews 讨论区 】
发信人: LXJSmonk (紫色心情的 LXJS NYC_monk), 信区: QueerNews
标 题: PFLAG NYC Safe Schools Program
发信站: BBS 未名空间站 (Fri Mar 12 21:42:51 2010, 美东)
http://www.pflagnyc.org/safeschools
===============================
Between social pressures and establishing an identity, school can already be
a challenging place for students to thrive in. But for lesbian, gay, bisexu
al, transgender (LGBT) and questioning youth, school can be the most difficu
lt ordeal they face.
All students, includi
b***k
发帖数: 2673
26
来自主题: Quant版 - [合集] brain test (safe sex)
☆─────────────────────────────────────☆
bigking (bigking) 于 (Thu Dec 13 18:31:10 2007) 提到:
Two men and two women, only have two condoms, can they have safe sex?
What about three men, and three women, three condoms?
N men and N women, what 's the min of condoms?
☆─────────────────────────────────────☆
Portfolio6 ($)^^大虫晚成^^( 于 (Thu Dec 13 19:48:11 2007) 提到:
Yes for 2 men and 2 women

☆─────────────────────────────────────☆
orion (M42) 于 (Thu Dec 13 20:22:25 2007) 提到:
for 3 male & 3
x**********g
发帖数: 13
27
来自主题: ARKANSAS版 - is little rock safe?
Avoid downtown area and S. University ave.
My car which was scratched in downtown Comfortable inn parking lot at night.
Best western Governor's suite is very nice. My friend once stayed there for
two nights.Might be a little expensive. Ramada in west little rock is not
bad. Close to a Chinese restaurant. (8 Shackleford Dr Little Rock, AR 72211)
, seemed to be run by Taiwanese.

stuff
safe
o*****a
发帖数: 79
28
来自主题: ARKANSAS版 - is little rock safe?
There are a lot of hotels along the South Shackleford Road, Little Rock, AR.
I have lived in various 3 star hotels (through priceline) at that area for about 10 days. And I think they are safe. Unless your stuff are very expensive.
p********y
发帖数: 5141
29
来自主题: Tri版 - Training hard and BE SAFE!!!
Today is our departmental Christmas lunch. When we just walked out of the
restaurant, I saw a car accident happened just in front of us.
First there was a big bang, then it was a deep sound. A guy who was waiting
on the traffic island to cross the road was hit by a car. After he landed on
the road, the car was keep driving until it hit the mid-session of the road
and stopped. It turned out that the car driver passed out before he hit a
traffic sign and drove to the traffic island where the poor ... 阅读全帖
i*********5
发帖数: 19210
30
来自主题: Tri版 - Training hard and BE SAFE!!!
Oh boy! Hope they'll survive.
Sounds like a heart attack or stroke to me.
A month ago a Canadian helped someone changing a tire on hwy in the states.
Then a few minutes later, he had an heart attack and passed out while
driving. His family in the car managed to stop the car. Then, another car
stopped to help. It turned out to be the guy he just helped changing tire.
That guy gave him CPR till ambulance came. He might not survive the heart
attack if he didn't stop to help the stranger earlier 'ca... 阅读全帖
a**y
发帖数: 6501
31
【 以下文字转载自 OnTheRoad 俱乐部 】
发信人: sing (CD), 信区: OnTheRoad
标 题: Re: 急问:漆墙的话三面浅+一面深是比较safe的选择么?
发信站: BBS 未名空间站 (Wed Sep 1 11:30:25 2010, 美东)
http://www.behr.com/dsm-ext/v/index.jsp?vgnextoid=2e39ea6621ca5110VgnVCM1000008119fea9RCRD&vgnextfmt=default#vgnextoid=8ee93dba0ff8b110VgnVCM1000006b0910acRCRD;view=3;channel=INSPIRATION
behr's purple rooms. i'd say room 6, 7, 9, 10 are all pretty good
f********m
发帖数: 8397
32
【 以下文字转载自 Automobile 讨论区 】
发信人: renxiaoyao (逍遥), 信区: Automobile
标 题: Re: Discussion. Why passat is so safe?
发信站: BBS 未名空间站 (Mon Nov 6 13:06:56 2006)
material also counts
MB, VW and BMW uses high strength alloy steel, with better stiffness for the
cage and higher toughness for the frame under the same geometry design.
a***y
发帖数: 19743
33
来自主题: _Auto_Fans版 - 大家Drive safe吧
买了个小车,很多人说不安全,确实如果是和大车对撞是吃亏。
于是小小研究一下,从统计学数据上来说,小车是比大车在事故中死亡率更高。我本来
也是想看看小车为什么死亡率高,这样可以吸取经验额外注意一些问题。
于是看到这个
http://www.edmunds.com/ownership/safety/articles/106748/article.html
但是值得一提的是,pickup的事故死亡率,大和非常大的pickup几乎和small car一样
,small pickup的死亡率更是高过small car,而pickup基本上比不管大小的SUV死亡率
高一倍。
有网站的人讨论,这是因为司机最重要。开pickup的一般比较redneck,教育程度可能
较低,可能更aggressive。开小车的年轻人更多,比如大学生,高中生,刚工作的,因
为穷。这些人经验不足,年轻气盛,不少刚可以喝酒,酒后驾车也多。确实另外有数据
表明约1/3车祸死亡与酒后驾车有关。另外开车多的人倾向于买小车省油。不少sporty
的车也属于小车。而开SUV的,通常年纪会较大,通常有了家庭和小孩,开车也可能会
因为车上... 阅读全帖
w*******y
发帖数: 60932
34
Crest 3D White Whitestrips Vivid Enamel Safe Dental Whitening Kit, 10-count
Carton
12.75 shipped with Prime, or FSSS
Find coupon on this page-may have to refresh
Link:
http://www.amazon.com/Coupons-Grocery/b/ref=amb_link_85379991_3?ie=UTF8&node=2231352011&pf_rd_m=ATVPDKIKX0DER&pf_rd_s=hero-quick-promo&pf_rd_r=1V7PQZV3AXZRBQDJ3SQQ&pf_rd_t=201&pf_rd_p=1245904722&pf_rd_i=B0009MFZAE
Give yourself a smile makeover with visible whitening results at home with
just 30 minutes, once a day
The most afford
w*******y
发帖数: 60932
35
If this price mistake goes through, it's the hit of the decade.
Link:
http://www.samsclub.com/sams/shop/product.jsp?productId=prod1390243
Does anyone know Walmart/Sam's Club's history with canceling orders on price
mistakes? Advise. This safe sells for $2143.00 each on Amazon. Here at
Sam's Club for $10.44 with FREE shipping!
w*******y
发帖数: 60932
36
SC35 Fire and Security Safe [amazon.com] by Cannon $10.44 Shipped
Dimensions: 72"H x 36"W x 22"D
Built In power box
UL RSC security rated exceeds CA DOJ requirements
Weight: 700 lbs
30 gun capacity
Retail: $2k+
w*******y
发帖数: 60932
37
First, go to your coupon book [amazon.com] and refresh until you see the $5
Crest 3D coupon, click the coupon and select Gentle Routine Enamel Safe
Dental Whitening Kit, then select the subscribe & save option and your total
should be $9.65.
Product Link:
http://www.amazon.com/Crest-Whitestrips-Routine-Whitening-28-count/dp/B00336EUU4/ref=br_lf_m__1_3_ttl?ie=UTF8&m=ATVPDKIKX0DER&s=hpc
Crest 3D White Gentle Routine Whitestrips provide more subtle whitening
results, but are specially designed for
w*******y
发帖数: 60932
38
Amazon
Crest 3D White Whitestrips Gentle Routine Enamel Safe Dental Whitening Kit (
28-count)
Sign in or create an Amazon account
Click Here [amazon.com] for your coupon book
Look for the $5 off any one Crest 3D White Advanced & click on it (you may
need to refresh the page a few times)
Click Here and click "Subscribe now" (over to the right)
Total in cart should be $14.06 - $5 = $9.06
w*******y
发帖数: 60932
39
Amazon has a great deal on Crest 3D White Whitestrips Gentle Routine Enamel
Safe Dental Whitening Kit (28-count). After following the steps below, price
drops to $9 with free shipping
1. Sign in or create an Amazon account
2. Click to go your My Coupon Book
3. Look for the "$5 off any one Crest 3D White Advanced" & click on it (you
may need to refresh the page a few times)
4. Click on "Subscribe now" to save 15% (over to the right)
5. Total in cart should be $14.06 - $5 = $9.06
w*******y
发帖数: 60932
40
Crest 3D White Whitestrips Gentle Routine Enamel Safe Dental Whitening Kit,
28-count Carton $11.57 free shipping from Amazon
Back in Stock with Subscribe and Save
Use Coupon and Subscribe and Save to get price and free shipping
$19.49 - $5 Coupon - Subscribe and Save = $11.57 with free shipping
Note if you have used this Coupon in August, this deal won't work for you.
You may also have to Refresh to see the Coupon
5-minute, once-a-day whitening for teeth sensitive to whitening
A gentle routine f
w*******y
发帖数: 60932
41
I was looking for a fireproof/waterproof chest for important documents (
without having to fold them), and this one fit the bill.
SentrySafe Fire-Safe Waterproof Chest, Silver Gray:
http://www.amazon.com/gp/product/B000LJOX94/ref=ord_cart_shr?ie=UTF8&m=ATVPDKIKX0DER
List Price: $66.66
Amazon's Price: $44.94 (33% off)
Gold Box Discount: - $6.95
Gold Box Price: $37.99 (43% off)
* Capacity is 0.36 cubic feet / 627 cubic inches
* ETL verified 1/2 hr
w*******y
发帖数: 60932
42
SentrySafe 1100 1/2 Hour Fire-Safe Chest, 0.18 Cubic Feet, Dove Gray $13.99
free shipping with Prime (FSSS) from Amazon.
On sale for $15.54 - Promo Code = $13.99
Use Promo Code : SENTRYIO
Link:
http://www.amazon.com/gp/product/B0016FZL48/ref=ord_cart_shr?ie=UTF8&m=ATVPDKIKX0DER
w*******y
发帖数: 60932
43
Sign into your Amazon account
Find the $5.00 off Crest $5 off coupon:
http://www.amazon.com/Coupons-Grocery/b/ref=amb_link_85715391_1?ie=UTF8&node=2231352011&pf_rd_m=ATVPDKIKX0DER&pf_rd_s=auto-sparkle&pf_rd_r=05G7F6AM46X6QQ93P1BA&pf_rd_t=301&pf_rd_p=494606871&pf_rd_i=coupons
]. You may have to refresh several times for it to show up. Click the
coupon link when yoou find it.
Follow this link for Crest 3D White Whitestrips Gentle Routine Enamel Safe
Dental Whitening Kit, 28-count Carton
Use Subscr... 阅读全帖
w*******y
发帖数: 60932
44
Amazon has the Crest 3D White Whitestrips With Advanced Seal Professional
Effects Enamel Safe Dental Whitening Kit, 20-count Carton for $13 AC and 30%
discount shipped free with Prime.
First login to your account and go to your coupon book $10 Coupon:
http://www.amazon.com/Coupons-Grocery/b/ref=amb_link_85379991_3?ie=UTF8&node=2231352011&pf_rd_m=ATVPDKIKX0DER&pf_rd_s=hero-quick-promo&pf_rd_r=08QA9W4QHY6SFMVYHKNA&pf_rd_t=201&pf_rd_p=1279050822&pf_rd_i=B00336EUTK
and look for the $10 coupon for ... 阅读全帖
w*******y
发帖数: 60932
45
1 Pack5 LED Hat Clip Light, 3 Modes, with 2 Red Side Safe LED Light,
Adjustable Angle, NR904 (More Details)
Coupon Code :MLCK403149120367NL1 limit 800 uses
Link:
http://www.meritline.com/led-hat-clip-light-nr904---p-51715.aspx
w*******y
发帖数: 60932
46
I am looking for allergy proof pillow and mattress covers due to my son's
allergetic to dust mites. I found this item on Amazon for 60% off hope this
will help someone in the similar situation.
Link:
http://www.amazon.com/SLEEP-SAFE-DUST-ALLERGEN-PROOF/dp/B002UBS
w*******y
发帖数: 60932
47
Rival5-qt. Slowcooker (Dishwasher Safe) $12.59 shipped w/Kohl Charge AC's
http://www.kohls.com/kohlsStore/electronicsgames/kitchenelectri
Kohl's next 30% off period is January 12-19.
Save 30% off when you use your Kohl's Charge Card.
Coupon Code: LOVE2SAVE30
LUVMVC for Free Shipping with Kohl's Charge card
Kohl's cash January 12-16
To get Kohl's Cash you need to spend the following amounts before 30% off
coupon/tax to get Kohl's Cash:
To get $10 K-Cash spend at least $71.44 before coupon
To get ... 阅读全帖
w*******y
发帖数: 60932
48
1 Pack5 LED Hat Clip Light, 3 Modes, with 2 Red Side Safe LED Light,
Adjustable Angle, NR904 (More Details)
Coupon Code :MLCK403149011873AL1 limit 1000 uses
w*******y
发帖数: 60932
49
来自主题: _DealGroup版 - 【$】Gunvault MV500 Microvault Pistol Safe
Please be kind as this is my first post. I was browsing Meijer.com and
found this deal for a Gunvault pistol safe. Retail price is $140, Amazon.
com price is $95.72 + $13.24 for shipping (not eligible for FSSS) equaling $
108.96. Meijer.com has this deal for $69.99 plus $9.95 for shipping
equaling $79.94. That's a savings of 29.02. Hope I did alright
首页 6 7 8 9 10 (共10页)