Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
Returns whether the queue is in locked or unlocked state.

True means locked, False means unlocked.

src/w/i/wishbone-HEAD/wishbone/test/testwishbonequeue.py   wishbone(Download)
    def test_isLocked(self):
        queue = WishboneQueue()
        queue.getLock()
        assert queue.isLocked() == (True, False)
 
            raise AssertionError("Queue lock not having desired effect.")
 
        assert queue.isLocked() == (True, True)
 
    def test_putLock(self):

src/w/i/wishbone-0.4.10/wishbone/test/testwishbonequeue.py   wishbone(Download)
    def test_isLocked(self):
        queue = WishboneQueue()
        queue.getLock()
        assert queue.isLocked() == (True, False)
 
            raise AssertionError("Queue lock not having desired effect.")
 
        assert queue.isLocked() == (True, True)
 
    def test_putLock(self):