On Wed, 26 Feb 2003, Matthias Kretz wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> in cslmain.c:197 and a few other places the mutex (un)locking is done like
> this:
> mutex->lock (mutex);
>
> but shouldn't this be:
> mutex->lock (mutex->user_data);
>
> just like the DRIVER_LOCK macro does?
> Basically, the way I understand it, it would call the lock function on the
> CslMutex struct which the lock function normally doesn't have a clue about -
> or am I getting something very wrong now?

nope, you're right. thanks for reporting, fixed in CVS.

>
> - --
> C'ya
>         Matthias

---
ciaoTJ

Reply via email to