[17490] in Kerberos_V5_Development

home help back first fref pref prev next nref lref last post

Re: Platform Assumptions: what does it mean to assume threads?

daemon@ATHENA.MIT.EDU (Sam Hartman)
Mon Jan 30 13:19:51 2012

From: Sam Hartman <hartmans@mit.edu>
To: Greg Hudson <ghudson@mit.edu>
Date: Mon, 30 Jan 2012 13:19:36 -0500
In-Reply-To: <4F26D906.8080304@mit.edu> (Greg Hudson's message of "Mon, 30 Jan
	2012 12:53:10 -0500")
Message-ID: <tslzkd5vyrr.fsf@mit.edu>
MIME-Version: 1.0
Cc: krbdev@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu

>>>>> "Greg" == Greg Hudson <ghudson@MIT.EDU> writes:

    Greg> On 01/30/2012 12:35 PM, Sam Hartman wrote:
    >> What are we actually talking about doing if we change our
    >> threading assumption?

    Greg> We could remove the ENABLE_THREADS conditional.  But on
    Greg> further inspection, this doesn't really get rid of much code,
    Greg> and it's pretty much all in k5-thread.h and
    Greg> util/support/threads.c.  So it may not be worth the cost
    Greg> (which would be making life slightly harder for obscure
    Greg> platforms).

OK, so you are not talking about say always linking against -lpthread on
Linux?

I'd be nervous about doing that and would definitely want to ask more
knowledgable Linux people before going down that path.
_______________________________________________
krbdev mailing list             krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev

home help back first fref pref prev next nref lref last post