Home
last modified time | relevance | path

Searched refs:lockit (Results 1 – 1 of 1) sorted by relevance

/third_party/python/Lib/test/test_asyncio/
Dtest_locks.py171 async def lockit(name, blocker): function
180 ta = asyncio.create_task(lockit('A', fa))
183 tb = asyncio.create_task(lockit('B', None))
186 tc = asyncio.create_task(lockit('C', None))
210 async def lockit(): function
223 t1 = asyncio.create_task(lockit())
224 t2 = asyncio.create_task(lockit())
225 t3 = asyncio.create_task(lockit())