From owner-freebsd-arch Tue Feb 4 11:42:55 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4465A37B401; Tue, 4 Feb 2003 11:42:54 -0800 (PST) Received: from mail.nsu.ru (mx.nsu.ru [193.124.215.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE87343F43; Tue, 4 Feb 2003 11:42:52 -0800 (PST) (envelope-from fjoe@iclub.nsu.ru) Received: from drweb by mail.nsu.ru with drweb-scanned (Exim 3.20 #1) id 18g8xr-00085E-00; Wed, 05 Feb 2003 01:42:39 +0600 Received: from iclub.nsu.ru ([193.124.215.97] ident=root) by mail.nsu.ru with esmtp (Exim 3.20 #1) id 18g8xr-00084q-00; Wed, 05 Feb 2003 01:42:39 +0600 Received: from iclub.nsu.ru (fjoe@localhost [127.0.0.1]) by iclub.nsu.ru (8.12.6/8.12.6) with ESMTP id h14JgURV063080; Wed, 5 Feb 2003 01:42:30 +0600 (NS) (envelope-from fjoe@iclub.nsu.ru) Received: (from fjoe@localhost) by iclub.nsu.ru (8.12.6/8.12.6/Submit) id h14JgTv8063079; Wed, 5 Feb 2003 01:42:29 +0600 (NS) Date: Wed, 5 Feb 2003 01:42:29 +0600 From: Max Khon To: Mikhail Teterin Cc: arch@freebsd.org, Alfred Perlstein , Wes Peters , Mario Sergio Fujikawa Ferreira Subject: Re: dlclose() vs. atexit() Message-ID: <20030205014229.A62172@iclub.nsu.ru> References: <200302030506.h1356Nha011918@repoman.freebsd.org> <1044319099.358.57.camel@zaphod.softweyr.com> <20030204082625.GB85104@elvis.mu.org> <200302041046.13767.mi+mx@aldan.algebra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200302041046.13767.mi+mx@aldan.algebra.com>; from mi+mx@aldan.algebra.com on Tue, Feb 04, 2003 at 10:46:13AM -0500 X-Spam-Status: No, hits=-3.0 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01, USER_AGENT,USER_AGENT_MUTT version=2.43 X-Envelope-To: mi+mx@aldan.algebra.com, arch@freebsd.org, bright@mu.org, wes@softweyr.com, lioux@freebsd.org Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi, there! > Yet another plan would be to have the atexit() call simply increase the > ref-count of the library a handler is from, so it will not actually be > unloaded by dlclose(). But that will be yet another implementation... this will break applications which want to reload some of the dlopen'ed modules /fjoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message