是否支持线程安全

126 views
Skip to first unread message

王新

unread,
Mar 17, 2013, 12:25:03 PM3/17/13
to nes...@googlegroups.com
我正在开发一个logServer,想尝试用nessDB作为server的存储引擎,可是不清楚是不是需要自己控制并发?

Bohu TANG

unread,
Mar 17, 2013, 10:21:21 PM3/17/13
to nes...@googlegroups.com

no, when you db_open, all from this pointer is thread safe.

On Mar 18, 2013 12:25 AM, "王新" <wangxin...@gmail.com> wrote:
我正在开发一个logServer,想尝试用nessDB作为server的存储引擎,可是不清楚是不是需要自己控制并发?

--
You received this message because you are subscribed to the Google Groups "nessDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nessdb+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

王新

unread,
Mar 18, 2013, 1:29:05 AM3/18/13
to nes...@googlegroups.com


thanks.you mean its already hold lock on insert?

 

-- 

wangxin

已使用 Sparrow


--
You received this message because you are subscribed to a topic in the Google Groups "nessDB" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nessdb/3KcFi1ztgQM/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to nessdb+un...@googlegroups.com.

Bohu TANG

unread,
Mar 18, 2013, 4:55:07 AM3/18/13
to nes...@googlegroups.com
Hi,

On Mon, Mar 18, 2013 at 1:29 PM, 王新 <wangxin...@gmail.com> wrote:


thanks.you mean its already hold lock on insert? 

  yes, but you should with the same pointer.



--
BohuTANG

"The great artist is the simplifier."--- Vincent Van Gogh
Reply all
Reply to author
Forward
0 new messages