Re: misc/151861: dlclose() of library causes separately opened

看板FB_bugs作者時間15年前 (2010/11/04 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串11/17 (看更多)
The following reply was made to PR misc/151861; it has been noted by GNATS. From: Jaakko Heinonen <jh@FreeBSD.org> To: Kostik Belousov <kostikbel@gmail.com> Cc: Arjan van Leeuwen <freebsd-maintainer@opera.com>, bug-followup@freebsd.org, kan@freebsd.org Subject: Re: misc/151861: dlclose() of library causes separately opened libraries to unload as well Date: Wed, 3 Nov 2010 18:12:05 +0200 On 2010-11-03, Kostik Belousov wrote: > > If you are going to take this approach, why not remove init_dag() altogether > > and make ref_dag() to initialize the dag when necessary? > I like the explicit notion that ref_dag() does not initialize the DAG. > We may add some assertion about state of the DAG there. OK. I don't like that init_dag() is used to increase reference count for already initialized DAGs but feel free to do whatever you think is best. -- Jaakko _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
文章代碼(AID): #1CqQDaI7 (FB_bugs)
討論串 (同標題文章)
完整討論串 (本文為第 11 之 17 篇):
文章代碼(AID): #1CqQDaI7 (FB_bugs)