dbTalk Databases Forums  

C++ Multithreading

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss C++ Multithreading in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default C++ Multithreading - 06-14-2006 , 05:47 AM






Hi all,

I'm a newbye to Berkeley DB technology. I'm interested in building a
C++ multithreaded application that accesses a Berkeley DB database. The
database has to be shared by threads and procsses in a concurrent way.

The "Getting Started Guide" and the reference documentation state that
Berkeley DB provides features to manage concurrency in that scenario,
without the need for developers to handle it by themselves: I'm able to
do that, but I think that if the product manages it, it's the better
solution.

Could someone, please, address me to some example in C++ or document or
developers forum that can help me to bootstrap my activity?

Thank you in advance

Daniele


Reply With Quote
  #2  
Old   
Ron
 
Posts: n/a

Default Re: C++ Multithreading - 06-15-2006 , 08:12 AM






Hi Daniele,

The C++ Transaction Processing guide should help you get going. It has
a multi-threaded example and the source code. The source code for that
example and other C++ examples can be found in your distribution in th
the examples_cxx directory.

http://www.sleepycat.com/docs/gsg_tx...re-Cxx-Txn.pdf
http://www.sleepycat.com/docs/gsg_tx...example_c.html

Perhaps there are other users willing to post some code here as well.
If not, you may want to search this newsgroup for some examples or look
at code that was posted.

Ron
Berkeley DB


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.