From 5b6b243c2b60bf4a567f9fd328e037fa5e8ea767 Mon Sep 17 00:00:00 2001 From: Vladimir Kolesnikov Date: Thu, 7 Apr 2011 18:28:52 +0200 Subject: fixed the preload.test pbxt bug --- storage/pbxt/src/lock_xt.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'storage/pbxt') diff --git a/storage/pbxt/src/lock_xt.cc b/storage/pbxt/src/lock_xt.cc index 946adfecccc..5dbba9db83a 100644 --- a/storage/pbxt/src/lock_xt.cc +++ b/storage/pbxt/src/lock_xt.cc @@ -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 -- cgit v1.2.1