[CXX-152] c++ muti-threads Created: 26/Mar/14  Updated: 11/Sep/19  Resolved: 27/Mar/14

Status: Closed
Project: C++ Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Trivial - P5
Reporter: kevin zheng Assignee: Unassigned
Resolution: Done Votes: 0
Labels: legacy-cxx
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

mac 10.9



 Comments   
Comment by kevin zheng [ 28/Mar/14 ]

thank you very much!

Comment by Andrew Morrow (Inactive) [ 27/Mar/14 ]

Hi kevin_key

No problem, I'll close this ticket. Could you please re-post your question to the mongodb-user group? It is the appropriate place for questions like yours and will be seen by many more people. You can subscribe here:

https://groups.google.com/forum/#!forum/mongodb-user

Andrew

Comment by kevin zheng [ 27/Mar/14 ]

Hi Andrew Morrow:
Firstly, I'm very sorry that you saw this. In fact, I have a question about how to write multi-threads with c++ driver, not the issue about c++ driver itself. but I don't know how to delete the issue I created, I'm so so sorry about this.

Secondly, it's my great honour if you can help me my question on how to write multi-threads with c++ driver.
The question is:
I connected mongod with multi-threads in my server, and I found three classes.
DBClientConnection in dir src/mongo/client/dbclientinterface.h,
ScopedDbConnection in dir src/mongo/client/connpool.h,
ThreadPool in dir src/mongo/util/concurrency/thread_pool.h,
which one should I use and how to?

Finally, my apologise to you again.

Comment by Andrew Morrow (Inactive) [ 26/Mar/14 ]

Hi kevin_key

Could you please provide some additional information to help us better understand the issue you are encountering or the behavior you would like to see implemented?

Thanks,
Andrew

Generated at Wed Feb 07 21:58:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.