Did I find the right examples for you? yes no

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)
Locks putting data in queue.
        

src/w/i/wishbone-0.4.10/wishbone/test/testwishbonequeue.py   wishbone(Download)
    def test_putLock(self):
        queue = WishboneQueue()
        queue.putLock()
 
        try:
    def test_putUnlock(self):
        queue = WishboneQueue()
        queue.putLock()
        try:
            queue.put("test")
 
        queue = WishboneQueue()
        queue.putLock()
 
        instance=spawn(go, queue)

src/w/i/wishbone-HEAD/wishbone/test/testwishbonequeue.py   wishbone(Download)
    def test_putLock(self):
        queue = WishboneQueue()
        queue.putLock()
 
        try:
    def test_putUnlock(self):
        queue = WishboneQueue()
        queue.putLock()
        try:
            queue.put("test")
 
        queue = WishboneQueue()
        queue.putLock()
 
        instance=spawn(go, queue)