[Piglit] [PATCH] framework: refactor the log module
Dylan Baker
baker.dylan.c at gmail.com
Wed Aug 27 18:27:07 PDT 2014
On Wednesday, August 27, 2014 09:21:54 PM Ilia Mirkin wrote:
> No, not quite. But this works (at least in principle, will have to
> have another look though).
>
> What I was suggesting was simply removing all locking from the _print
> function and asserting that the lock was held instead (since all
> callers to it acquired the lock)
I guess I should have been more clear, RLock does not have a property or
method that can be called to assert that the lock is held, only Lock
does. So if we want to remove locking from the protected/private methods
and only assert that the lock is taken we must use a regular Lock.
[snip]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20140827/f931a93a/attachment.sig>
More information about the Piglit
mailing list