Let's imagine I have a thread with an asyncio event loop and other threads running.
I may have to deal with synchronisation between threads with the lock mecanism for instance. But the lock may block the coroutine... And no other tasks (in the asyncio thread) will run concurrently.
What is the solution ? My guess is that a kind of lock primitivve which would be asynchronous could do the job but it does not exist as far as I know.
To be precise: I do not refer to the existing asyncio lock primitive.