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

Re: o_private (Was: (ITS#4184) Lockup when moding one particular entry)



> On Tue, 2005-12-27 at 13:46 -0800, Howard Chu wrote:
>
>> Are you convinced that push/pop is sufficient, will there ever be an
>> out-of-order access?

> If we need out-of-order access, then we'll likely need a destructor
> function, which should be called also when "destroying" temporaries.
> This doesn't sound very appealing.

In this case, it might make sense moving o_private in o_hdr, so it would
be shared by temporaries when copied from a regular operation, and
destruction should only occur when resetting an operation (in
slap_op_free()?).

p.



Ing. Pierangelo Masarati
Responsabile Open Solution
OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office:   +39.02.23998309          
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it
------------------------------------------