Re: KITTEN: IETF 75 - 76

Nicolas Williams <Nicolas.Williams@Sun.COM> Wed, 02 September 2009 22:54 UTC

Return-Path: <Nicolas.Williams@Sun.COM>
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 D5FB73A6C86 for <kitten@core3.amsl.com>; Wed, 2 Sep 2009 15:54:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.839
X-Spam-Level:
X-Spam-Status: No, score=-5.839 tagged_above=-999 required=5 tests=[AWL=0.207, BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, 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 HqRpS1j+os0I for <kitten@core3.amsl.com>; Wed, 2 Sep 2009 15:54:28 -0700 (PDT)
Received: from brmea-mail-1.sun.com (brmea-mail-1.Sun.COM [192.18.98.31]) by core3.amsl.com (Postfix) with ESMTP id 4FA5B3A6CD5 for <kitten@ietf.org>; Wed, 2 Sep 2009 15:54:27 -0700 (PDT)
Received: from dm-central-02.central.sun.com ([129.147.62.5]) by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n82LbnOY015938 for <kitten@ietf.org>; Wed, 2 Sep 2009 21:37:49 GMT
Received: from binky.Central.Sun.COM (binky.Central.Sun.COM [129.153.128.104]) by dm-central-02.central.sun.com (8.13.8+Sun/8.13.8/ENSMAIL, v2.2) with ESMTP id n82Lbmdh037669 for <kitten@ietf.org>; Wed, 2 Sep 2009 15:37:48 -0600 (MDT)
Received: from binky.Central.Sun.COM (localhost [127.0.0.1]) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3) with ESMTP id n82LQsR8009433; Wed, 2 Sep 2009 16:26:54 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n82LQqu6009432; Wed, 2 Sep 2009 16:26:52 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Wed, 02 Sep 2009 16:26:52 -0500
From: Nicolas Williams <Nicolas.Williams@Sun.COM>
To: Michael B Allen <miallen@ioplex.com>
Subject: Re: KITTEN: IETF 75 - 76
Message-ID: <20090902212652.GX1033@Sun.COM>
References: <200908180013.29152.leifj@mnt.se> <20090901131202.137bdd90.miallen@ioplex.com> <20090901173110.GL1033@Sun.COM> <396484EF-9812-40CE-9221-F1A1319FD10B@kth.se> <20090901181307.fe1d4efa.miallen@ioplex.com> <98F14484-1B48-45A1-86E7-5E78383F5109@kth.se> <20090901214059.17a309e6.miallen@ioplex.com> <4A9E22D9.9050405@samba.org> <20090902153241.GJ1033@Sun.COM> <20090902172015.da056c19.miallen@ioplex.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <20090902172015.da056c19.miallen@ioplex.com>
User-Agent: Mutt/1.5.7i
Cc: "kitten@ietf.org" <kitten@ietf.org>, Volker Lendecke <vl@SerNet.DE>
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
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: Wed, 02 Sep 2009 22:54:28 -0000

On Wed, Sep 02, 2009 at 05:20:15PM -0400, Michael B Allen wrote:
> There is another model:
> 
> > > while (1) {
>         gss_process_events(&minor, ...);
> > > ...

The problem with this model is that it has the GSS-API impose its own
event loop on the application.  Imagine if every library did that!  An
application that uses multiple such libraries, where some such libraries
use other such libraries, would be very difficult to get to work at all,
particularly without threading or sub-processes.

I don't understand your aversion to callbacks.  Callbacks are
exceedingly common in C APIs nowadays, and that's a good thing, IMO.

Nico
--