[CXX-156] Remove LastError, DiagStr, and SpinLock from driver Created: 26/Mar/14  Updated: 04/May/14  Resolved: 26/Mar/14

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

Type: Task Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 0
Labels: legacy-cxx
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

SpinLock is brought in for one part of the mocklib where it isn't needed, and via the following chain:

SpinLock <- DiagStr <- sock.cpp::_hostNameCached <- mongo::getHostNameCached <- mongo::prettyHostName <- mongo::LastError

I suspect that this entire chain can be removed from the driver.



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

https://github.com/mongodb/mongo-cxx-driver/pull/38

Comment by Githook User [ 26/Mar/14 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: CXX-156 Remove LastError, SpinLock, and DiagStr from driver
Branch: legacy
https://github.com/mongodb/mongo-cxx-driver/commit/dc89a8c919f705f44960e09bdb8ddf7fa03b299b

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