[CDRIVER-373] make various libmongoc structures ref counted Created: 05/Jun/14 Updated: 03/May/17 Resolved: 12/Sep/14 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Christian Hergert | Assignee: | Christian Hergert |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
To make binding into various languages easier, we should make some of our structures ref counted. Primarily, this should help manage lifetime of structures which is much more difficult in higher-level languages where we cannot control scope. In particular, the following are probably strong candidates for reference counting. mongoc_cilent_t Possibly these as well: mongoc_uri_t |