[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Locking interface in "libprop" implementation
> the locking primitives in "libprop" are currently used like this:
> This interface is IMHO a bit messy because in the case of stand alone
> binaries neither "pd_rwlock" nor "pw_rwlock" actually exist. Is there
> a reason why the interface doesn't look like this?
> The only disadvantage would be that the member containing the lock
> would have to use the same name in "_prop_dictionary" and "_prop_array".
> Kind regards
> Matthias Scheler http://zhadum.org.uk/
i personally prefer the former because it's clearer and
doesn't assume 1:1 mapping between locks and structures.
Main Index |
Thread Index |