Commit 7a3a8b41 authored by unknown's avatar unknown

Merge fix of missing lock initialisation from Vlad:

    "fixed the problem for the failing preload.test in pbxt suite"
parents e6b0be38 5b6b243c
...@@ -1424,6 +1424,7 @@ xtPublic void xt_spinxslock_init(struct XTThread *XT_UNUSED(self), XTSpinXSLockP ...@@ -1424,6 +1424,7 @@ xtPublic void xt_spinxslock_init(struct XTThread *XT_UNUSED(self), XTSpinXSLockP
#endif #endif
{ {
sxs->sxs_xlocked = 0; sxs->sxs_xlocked = 0;
sxs->sxs_xwaiter = 0;
sxs->sxs_rlock_count = 0; sxs->sxs_rlock_count = 0;
sxs->sxs_wait_count = 0; sxs->sxs_wait_count = 0;
#ifdef DEBUG #ifdef DEBUG
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment