boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - Dummy DB question: create user时,DB自己会lock/sync吧
相关主题
How to avoid deadlock ?
condional variable thread sync 问题 (转载)
is it possible to generate random tests for semphore/mutex/event APIs ... ?
谁能推荐一个read-writer lock的C++实现? (转载)
请教 boost locks
double-checked locking
C++的一个mutex问题
scoped lock的问题
面试问题一问 (转载)
Restaurant Reservation System...
相关话题的讨论汇总
话题: db话题: create话题: dummy
进入Programming版参与讨论
1 (共1页)
s*****w
发帖数: 1527
1
对DB不懂,假如说是cassandra吧,有一个DB table for "my customers",
有id, name, address。
如果我create a new customer,写入DB之前我需要自己做个lock/mutex吗?防止别人
也在create user ?
DB本身应该都有了吧,不需要我处理了吧。
1 (共1页)
进入Programming版参与讨论
相关主题
Restaurant Reservation System...
about critical section
EBUSY 的定义
how to answer this question, thanks
mutex和semaphore的差别到底是什么?
c++ multi-thread 一问,
精华区翻出来的MS老题,thread safe
boost thread 里的 shared_mutex 和 readwrite_lock 有什么区别?
请问关于c++实现singleton的问题?
请问static variable init的问题?
相关话题的讨论汇总
话题: db话题: create话题: dummy