Platform Assumptions: what does it mean to assume threads?

Sam Hartman hartmans at MIT.EDU
Mon Jan 30 13:19:36 EST 2012

>>>>> "Greg" == Greg Hudson <ghudson at 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

I'd be nervous about doing that and would definitely want to ask more
knowledgable Linux people before going down that path.

More information about the krbdev mailing list