[Kst] extragear/graphics/kst/src/libkst
Eli Fidler
eli at staikos.net
Thu Mar 1 21:05:01 CET 2007
SVN commit 638394 by fidler:
re-enable --with-one-lock configure param
M +2 -4 rwlock.cpp
--- trunk/extragear/graphics/kst/src/libkst/rwlock.cpp #638393:638394
@@ -180,8 +180,7 @@
return UNLOCKED;
}
#else
-#error lockStatus() not supported using the single lock
- return UNLOCKED;
+ return _mutex.locked() ? WRITELOCKED : UNLOCKED;
#endif
}
@@ -200,8 +199,7 @@
return UNLOCKED;
}
#else
-#error myLockStatus() not supported using the single lock
- return UNLOCKED;
+ return _mutex.locked() ? WRITELOCKED : UNLOCKED;
#endif
}
More information about the Kst
mailing list