You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Ernest Burghardt (Jira)" <ji...@apache.org> on 2021/03/18 20:36:00 UTC
[jira] [Commented] (GEODE-8208) Remove global initLib/closeLib
methods from CppCacheLibrary
[ https://issues.apache.org/jira/browse/GEODE-8208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17304435#comment-17304435 ]
Ernest Burghardt commented on GEODE-8208:
-----------------------------------------
[~bbender] could we block this on GEODE-2484? if not another ticket perhaps
> Remove global initLib/closeLib methods from CppCacheLibrary
> -----------------------------------------------------------
>
> Key: GEODE-8208
> URL: https://issues.apache.org/jira/browse/GEODE-8208
> Project: Geode
> Issue Type: Improvement
> Components: native client
> Reporter: Blake Bender
> Priority: Major
>
> closeLib contains no code, just remove it. initLib is only one line of code, a call to ACE::init(). If there is to be any global initialization code for geode-native, and it currently doesn't appear that there is, it needs to be exposed in the public API and called explicitly by the application, where object lifetimes etc are known. Since CppCacheLibrary isn't public, and once we remove ACE (GEODE-2484) there will literally be no code in either of these methods, we should delete them and move on.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)