Merge fix of missing lock initialisation from Vlad:

"fixed the problem for the failing preload.test in pbxt suite"
This commit is contained in:
unknown 2011-04-12 11:48:43 +02:00
commit 7a3a8b417e

View File

@ -1424,6 +1424,7 @@ xtPublic void xt_spinxslock_init(struct XTThread *XT_UNUSED(self), XTSpinXSLockP
#endif
{
sxs->sxs_xlocked = 0;
sxs->sxs_xwaiter = 0;
sxs->sxs_rlock_count = 0;
sxs->sxs_wait_count = 0;
#ifdef DEBUG