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

ber_int_options.lbo_valid ?

This field is gratuitously set to LBER_INITIALIZED throughout some heavily used liblber routines. There appears to be only one place where the value is ever checked (in ber_set_option). I'd like to remove most/all of these references, as it's making my thread checker complain about a (meaningless) race condition. Also this can't be a good thing to do to a CPU cache, particularly on a multiprocessor system. OK?

 -- Howard Chu
 Chief Architect, Symas Corp.  http://www.symas.com
 Director, Highland Sun        http://highlandsun.com/hyc
 OpenLDAP Core Team            http://www.openldap.org/project/