Python: Prioritizing tasks and Running asynchronous tasks without a lock
<p>Right now I'm using Gevent, and I wanted to ask two questions:</p>

<ul>
<li>Is there a way to execute specific tasks that will <strong>never execute asynchronously</strong> (instead of using a Lock in each of these tasks)</li>
<li>Is there's a way to <strong>prioritize</strong> spawned tasks in Gevent? Like a group of tasks that will be generated with low priority that will be executed when all of the other tasks are done. <strong>For example</strong>, two tasks that listen to different socket when each of these tasks handles the socket requests in various priority</li>
</ul>

<p>If it's not possible in Gevent, is there any other library that it can be done?</p>

<p><strong><em>Edit</em></strong><br>
Maybe Celery can help me here?</p>