CVS commit: src/sys/rump/librump/rumpuser

Module Name: src
Committed By: pooka
Date: Mon Jan 26 19:34:12 UTC 2009
Modified Files:
src/sys/rump/librump/rumpuser: rumpuser_pth.c
Log Message:
Init rumpspl rwlock spinlock. Otherwise pthread_spin routines just
return EINVAL and result in not protecting what they are supposed
to protect. This results in the counter value getting corrupted
and asserts firing.
Problem reported by Arnaud Ysmal.
While debugging this, take the opportunity to remove explicit
pthread_t comparisons and put everything under pthread_equal().
To generate a diff of this commit:
cvs rdiff -r1.24 -r1.25 src/sys/rump/librump/rumpuser/rumpuser_pth.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.