Return-Path: X-Original-To: apmail-incubator-celix-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-celix-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 370E5E78A for ; Mon, 26 Nov 2012 08:25:12 +0000 (UTC) Received: (qmail 86567 invoked by uid 500); 26 Nov 2012 08:25:12 -0000 Delivered-To: apmail-incubator-celix-dev-archive@incubator.apache.org Received: (qmail 86529 invoked by uid 500); 26 Nov 2012 08:25:11 -0000 Mailing-List: contact celix-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: celix-dev@incubator.apache.org Delivered-To: mailing list celix-dev@incubator.apache.org Received: (qmail 86511 invoked by uid 99); 26 Nov 2012 08:25:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2012 08:25:11 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of a.broekhuis@gmail.com designates 209.85.214.47 as permitted sender) Received: from [209.85.214.47] (HELO mail-bk0-f47.google.com) (209.85.214.47) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2012 08:25:03 +0000 Received: by mail-bk0-f47.google.com with SMTP id j4so2852316bkw.6 for ; Mon, 26 Nov 2012 00:24:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=o9mHCRmbtxiPFuXeNXrUG1aQERqECKEbXnbMA7jF5Tg=; b=gAcD5S7eVTz28AKeVlaqXQNtmxZ9L9XH8zH+MwuoOA/xK5newRHX1vvwPSIMKYN5cY L28ba5m+lXZkv1fJFIl3MjPsFnvUviaL9Cyxj49mpeOfUITEVORHf5L9ihPeZPH0AVow cG8TgDPYyTiRb/H5BEqvwwB5XaH4ct3DvOET9WjrRIRlp6f4C3Z1TiTYT+24vKZ/edfy ZNGCwX5WLg5PbufWu/+VRUWdsQ0loW0bV27pCn29gWFsTxtsMIAs+ZIH/tl7vY/jzlff tzYEsHoSiTp5NPiuWTgUvHc/JkBT0iBxcNuN0tPm4u9ZPKyMCEswAqZguyWvGMD4lzss F2ag== MIME-Version: 1.0 Received: by 10.204.13.12 with SMTP id z12mr3207954bkz.58.1353918282877; Mon, 26 Nov 2012 00:24:42 -0800 (PST) Received: by 10.205.36.76 with HTTP; Mon, 26 Nov 2012 00:24:42 -0800 (PST) In-Reply-To: <50B32661.3080005@dkfz-heidelberg.de> References: <50B32661.3080005@dkfz-heidelberg.de> Date: Mon, 26 Nov 2012 09:24:42 +0100 Message-ID: Subject: Re: framework use some unix's function, not apr From: Alexander Broekhuis To: celix-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=0015174c1d324e4cde04cf61aa52 X-Virus-Checked: Checked by ClamAV on apache.org --0015174c1d324e4cde04cf61aa52 Content-Type: text/plain; charset=ISO-8859-1 Hi, As I understood it, your referenced link is about sharing module handles > between different processes. > agreed. > > I am not a Windows DLL expert but I think the following is true (maybe > there are some tricks on the Windows platform, but they would definitely be > non-standard): > > Vaguely speaking, the Windows linker resolves symbols at link-time, > contrary to the default behaviour of the ELF linker, resolving symbols > lazily at runtime. Therefore, the concept of a symbol search path makes not > much sense on Windows (except for the search path defined by the link-time > dependencies). Consequently, dynamically loaded libraries on Windows do not > affect symbol resolution of subsequently loaded libraries so their symbols > are never "global". RTLD_GLOBAL on POSIX systems adds the symbols of the > loaded library to the global search path, hence they can be used by the > dynamic linker to resolve symbols of subsequently loaded libraries. There > is no such "global symbol search path" on Windows (AFAIK). > If this is the case then Celix won't have a problem on Win32 systems... Even more, the behavior of APR is inconsistent.. on Linux based systems GLOBAL is the default, while Windows doesn't have a GLOBAL equivalent. I would have thought the default APR behavior to try to be the same over multiple platforms.. -- Met vriendelijke groet, Alexander Broekhuis --0015174c1d324e4cde04cf61aa52--