Re: GSS-APIv3 sketch

Volker Lendecke <Volker.Lendecke@SerNet.DE> Thu, 12 November 2009 07:17 UTC

Return-Path: <Volker.Lendecke@SerNet.DE>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1F2273A69B3 for <kitten@core3.amsl.com>; Wed, 11 Nov 2009 23:17:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.249
X-Spam-Level:
X-Spam-Status: No, score=-6.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rkpgyRZKV33t for <kitten@core3.amsl.com>; Wed, 11 Nov 2009 23:17:56 -0800 (PST)
Received: from mail.SerNet.de (mail.SerNet.de [193.175.80.2]) by core3.amsl.com (Postfix) with ESMTP id 4AEB23A6853 for <kitten@ietf.org>; Wed, 11 Nov 2009 23:17:55 -0800 (PST)
Received: from intern.SerNet.DE by mail.SerNet.DE with esmtp (Exim 4.63 #1) id 1N8Twi-0003HU-Un; Thu, 12 Nov 2009 08:18:20 +0100
Received: by intern.SerNet.DE id 1N8Twh-0057MW-SY; Thu, 12 Nov 2009 08:18:20 +0100
Received: by intern.SerNet.DE id 1N8Twh-0057MC-5g; Thu, 12 Nov 2009 08:18:19 +0100
Date: Thu, 12 Nov 2009 08:20:18 +0100
From: Volker Lendecke <Volker.Lendecke@SerNet.DE>
To: Nicolas Williams <Nicolas.Williams@sun.com>
Subject: Re: GSS-APIv3 sketch
References: <20091111181140.GC10501@Sun.COM> <C111F570-A844-4782-B561-08B6685D7E09@apple.com> <20091111184244.GN1105@Sun.COM> <20091111184726.GD10501@Sun.COM> <1257980366.2759.41.camel@naomi.s4.naomi.abartlet.net> <E1N8MHF-004jYm-T7@intern.SerNet.DE> <20091111230442.GY1105@Sun.COM>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="lrZ03NoBR/3+SXJZ"
Content-Disposition: inline
In-Reply-To: <20091111230442.GY1105@Sun.COM>
User-Agent: Mutt/1.5.18 (2008-05-17)
Message-Id: <E1N8Twh-0057MW-SY@intern.SerNet.DE>
Organization: SerNet GmbH, Goettingen, Germany
Cc: "kitten@ietf.org" <kitten@ietf.org>, Love Hörnquist Åstrand <lha@apple.com>
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Volker.Lendecke@SerNet.DE
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/kitten>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Nov 2009 07:17:57 -0000

On Wed, Nov 11, 2009 at 05:04:42PM -0600, Nicolas Williams wrote:
> I'd like to hear more about this.  Can you please describe the problem
> with libraries creating worker threads?  You can use private e-mail if
> you wish.  References to bug reports would be great.

The most nasty implications come from initialization and
from fork. If you have several libraries doing threads, it
is easy for unsuspecting applications creating races. The
worst one is fork: You have to shut down all threads before
the fork and potentially re-start them after it, because you
need to drop all locks/mutexes/etc during the fork. If
needed, I can try to contact the author and get his slides

Volker