Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IHC Bugfixes #7

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

IHC Bugfixes #7

wants to merge 2 commits into from

Conversation

mkentie
Copy link

@mkentie mkentie commented Jan 17, 2022

-Wrong type of container in SOCmnList.cpp
-CoUninitialize not being called if initialized as COINIT_MULTITHREADED in SoCltEntry.
-Leaking of NameSpaceRoots during multi-threaded variable updates in SODaSEntry.cpp.

-Wrong type of container in SOCmnList.cpp
-CoUninitialize not being called if initialized as COINIT_MULTITHREADED in SoCltEntry.
-Leaking of NameSpaceRoots during multi-threaded variable updates in SODaSEntry.cpp.
@mkentie
Copy link
Author

mkentie commented Jan 17, 2022

If you're interested I can also push our other changes, namely
-Demo client compiles as 64-bit application
-64-bit warning fixes
-Ability to compile with VS2019 conformance mode (const char* fixes, two-phase-lookup in SOSrvComObject).

However these changes were only made to files we actually use (nothing SOA*), so it would leave the code base inconsistent.

@FischerSeb
Copy link
Contributor

If you're interested I can also push our other changes, namely -Demo client compiles as 64-bit application -64-bit warning fixes -Ability to compile with VS2019 conformance mode (const char* fixes, two-phase-lookup in SOSrvComObject).

However these changes were only made to files we actually use (nothing SOA*), so it would leave the code base inconsistent.

Thanks for the offer. But as you already pointed out it will not keep it simple here.

@@ -674,6 +674,8 @@ SODaSNameSpaceRoot* SODaSEntry::getNameSpaceRoot(
return NULL;
}

SOCmnSingleLock<SOCmnSync> lock(&g_engineSync);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mkentie Why must this lock be acquired here ? The only other place where it is used is in "SODaSEntry* getSODaSEntry(void) (line 122)" to guard the global g_engine.

@mkentie
Copy link
Author

mkentie commented Mar 15, 2022 via email

@mrsuciu
Copy link
Collaborator

mrsuciu commented Mar 15, 2022

@mkentie Good stuff. Can you please add the g_namespaceSync you mentioned, to keep the code cleaner?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants