Re: deadlock avoidance?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 8 Dec 1999 00:05:48 +0000 (GMT)


> See at this implementation ( optimization = 0.0 ) :
Correctness ditto 8)

> ++lock->count; \

These need to use atomic operations - dec and not zero etc

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/