Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
Delivered-To: <filtered@awaresystems.be>
Received: from mx2.public.one.com ([10.246.18.22])
	by mail6.local.one.com (Dovecot) with LMTP id e/fGJgjde1fquQAAsyOMew
	for <filtered@awaresystems.be>; Tue, 05 Jul 2016 16:15:40 +0000
X-HalOne-ID: b6eab9d8-42cb-11e6-ac97-b82a72d88088
Received: from mail-qk0-f175.google.com (unknown [209.85.220.175])
	by mx2.public.one.com (Halon Mail Gateway) with ESMTPS
	for <filtered@awaresystems.be>; Tue,  5 Jul 2016 16:15:39 +0000 (UTC)
Received: by mail-qk0-f175.google.com with SMTP id t127so292452541qkf.1
        for <filtered@awaresystems.be>; Tue, 05 Jul 2016 09:15:39 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-original-authentication-results:x-gm-message-state:delivered-to
         :mime-version:in-reply-to:references:from:date:message-id:to:cc
         :subject:precedence:list-id:list-unsubscribe:list-archive:list-post
         :list-help:list-subscribe:content-transfer-encoding:sender:errors-to;
        bh=lax+vRL0+2DZWPH6OucRsmCp+UiaL4wz3F/7BGUaZFI=;
        b=BSyarltw/raxF9RW/CsnCfK7bXa/HTMfvkusYy9LPnjOfp2HeO5HscuzPZIUCnKgyX
         DweUbnkStw+dH7ra5Mp+i54gWaLBdh/D4nztODWGnGiaGwENrmoL23MK6qYoHhTDk15M
         ahPmEdmFAyovk+3X9DjfdvUK+imsR1fS7wAi+kllx+EZlfaMpYEeI1WDFaDy8wIvEgez
         s6/AfmfUs/uZKNoSfXElvdR6b2HSLEK1XxgaIp76g6BtYOT/9nKcqNtVnhAHHh0z5yXT
         46DBb5d1+f4SaoenwV7kiDkL5djusC3Y0lbn7fK7Qp32Zj/eBrXq4a+GSmeYMO+2u3t6
         PN4A==
X-Original-Authentication-Results: mx.google.com;       spf=neutral (google.com: 94.23.4.142 is neither permitted nor denied by best guess record for domain of tiff-bounces@lists.maptools.org) smtp.mailfrom=tiff-bounces@lists.maptools.org;       dmarc=fail (p=NONE dis=NONE) header.from=gmail.com
X-Gm-Message-State: ALyK8tKHyoOBuWkfktAZGdN15rU25HFbgjZ1ewR3rYC+TSoPi+vwkBPYFh8GKeHL5rKolTFVafR8wcV8psYqqFdHhBKobzI=
X-Received: by 10.55.45.134 with SMTP id t128mr24630696qkh.197.1467735337984;
        Tue, 05 Jul 2016 09:15:37 -0700 (PDT)
X-Forwarded-To: filtered@awaresystems.be
X-Forwarded-For: awaresystems.be@gmail.com filtered@awaresystems.be
Delivered-To: awaresystems.be@gmail.com
Received: by 10.55.147.70 with SMTP id v67csp345287qkd;
        Tue, 5 Jul 2016 09:15:36 -0700 (PDT)
X-Received: by 10.194.171.133 with SMTP id au5mr15831916wjc.60.1467735336866;
        Tue, 05 Jul 2016 09:15:36 -0700 (PDT)
Return-Path: <tiff-bounces@lists.maptools.org>
Received: from lists.maptools.org (ks365428.kimsufi.com. [94.23.4.142])
        by mx.google.com with ESMTP id iq3si2762599wjb.103.2016.07.05.09.15.35;
        Tue, 05 Jul 2016 09:15:36 -0700 (PDT)
Received-SPF: neutral (google.com: 94.23.4.142 is neither permitted nor denied by best guess record for domain of tiff-bounces@lists.maptools.org) client-ip=94.23.4.142;
Authentication-Results: mx.google.com;
       spf=neutral (google.com: 94.23.4.142 is neither permitted nor denied by best guess record for domain of tiff-bounces@lists.maptools.org) smtp.mailfrom=tiff-bounces@lists.maptools.org;
       dmarc=fail (p=NONE dis=NONE) header.from=gmail.com
Received: from [10.1.0.241] (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id 84BAE35C054;
	Tue,  5 Jul 2016 11:14:41 -0500 (EST)
Received: from mail-pa0-f44.google.com (mail-pa0-f44.google.com
	[209.85.220.44])
	by lists.maptools.org (Postfix) with ESMTPS id CCADA35C052
	for <tiff@lists.maptools.org>; Tue,  5 Jul 2016 11:14:28 -0500 (EST)
Received: by mail-pa0-f44.google.com with SMTP id dx3so3823808pab.2
	for <tiff@lists.maptools.org>; Tue, 05 Jul 2016 09:14:28 -0700 (PDT)
X-Received: by 10.67.3.7 with SMTP id bs7mr33653971pad.86.1467735267311; Tue,
	05 Jul 2016 09:14:27 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.66.127.10 with HTTP; Tue, 5 Jul 2016 09:14:26 -0700 (PDT)
In-Reply-To: <alpine.GSO.2.20.1607051022510.21946@freddy.simplesystems.org>
References: <CAO=tXLDUwfzM1Tt+S17MKC-=mhZSLQYB0A6dV8NXbP1Dw5m67A@mail.gmail.com>
	<CAAcuQebuUH6-O4-Ffgi5WPRiYGZF_z8vJRvpQx_0LsJqkC6MWA@mail.gmail.com>
	<alpine.GSO.2.20.1607051022510.21946@freddy.simplesystems.org>
From: Olivier Paquet <olivier.paquet@gmail.com>
Date: Tue, 5 Jul 2016 12:14:26 -0400
Message-ID: <CAAcuQea4Jr2Janxa_ZjwXkAX2Qck8Le5_akWLb9HQyoNJUtQMg@mail.gmail.com>
To: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
Cc: TIFF mailing list <tiff@lists.maptools.org>
Subject: Re: [Tiff] Proposed API improvements
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

2016-07-05 11:41 GMT-04:00 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>:

> when it is introduced.  A concern would be that most using applications are
> already written, existing applications still need to work with many existing
> libtiff versions, and so the new interface would not be used.

While I agree uptake will likely be very slow and limited, by that
argument, we'd never improve anything.

> to those functions.  There is the possibility of using thread specific data
> to avoid this approach, but this assumes that the thread which registers the
> error callbacks is the same as will be later using libtiff functions which
> need to call this error handler.  I have some thread specific data API

A bad assumption to make in my experience. Besides, this doesn't fix
the problem with multiple competing error handlers in different parts
of a single threaded application. Binding the error handler to a TIFF
handle would fix it and requires no knowledge of threads.

Olivier
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
