[Date Prev][Date Next] [Chronological] [Thread] [Top]

Fw: Bug of the day (set_concurrency)

Heres a patch based on Marks solution (outlined below).


Al Sutton (al@alsutton.com)
WWW: http://www.buddysites.net/
ICQ: 78617500

----- Original Message -----
From: "Mark Adamson" <adamson@andrew.cmu.edu>
To: "Al Sutton" <al@alsutton.com>
Sent: Thursday, July 06, 2000 2:12 PM
Subject: Re: Bug of the day (set_concurrency)

> Yeah, I saw that one too. The things that get #define'd in the portable.h
> file do not mesh entirely with what is in the code. Chances are that like
> on my machine there is no setconcurrency or getconcurrency calls in the
> pthread libraries. And using this concurrency stuff is just an option from
> the config file anyway, one that I am not using.
> If you read the code around the ldap_pvt_thread_set_concurrency()
> functions in libraries/libldap_r/ you'll see it's not real clear what is
> supposed to be going on. There are ifdef's within ifdef's that depend on
> the same macro, and areas of code that can never happen due to the
> I went into servers/slapd/config.o and put this around the set_concurrency
> call:
>   #endif
> -Mark Adamson
>  Carnegie Mellon

Attachment: linkfix-sun-gcc-alsutton000706
Description: Binary data