[CDRIVER-2695] Share threading config checks between libbson and libmongoc Created: 11/Jun/18  Updated: 28/Oct/23  Resolved: 08/Aug/18

Status: Closed
Project: C Driver
Component/s: libbson, libmongoc
Affects Version/s: 1.9.0
Fix Version/s: 1.13.0

Type: Improvement Priority: Minor - P4
Reporter: A. Jesse Jiryu Davis Assignee: A. Jesse Jiryu Davis
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on CDRIVER-2694 Remove BSON_PTHREAD_ONCE_INIT_NEEDS_B... Closed
Problem/Incident
is caused by CDRIVER-2416 Merge libbson repository into mongo-c... Closed
is caused by CDRIVER-2693 Segfault in bson_b64_pton parsing val... Closed

 Description   

bson-thread-private.h and mongoc-thread-private.h have a bunch of duplicate #defines for portable threading. For CDRIVER-2693 I also duplicated those #defines again to common-b64.c. Let's collect these in src/common/.



 Comments   
Comment by Githook User [ 08/Aug/18 ]

Author:

{'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com', 'username': 'ajdavis'}

Message: CDRIVER-2695 refactor threading config checks
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/0d2c8b5c4033f52f71f3d2a85cda71dfd32a2162

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