| ID | ... | Creation date | March 15, 2007 |
| Platform | S60 2nd Edition, S60 3rd Edition | Tested on devices | ... |
| Category | Python | Subcategory | Multitasking |
| Keywords (APIs, classes, methods, functions): e32 |
S60 phones use cooperative multitasking. You call e32.ao_yield() here and there to let other tasks run before they return back to you. e32.ao_lock() also plays a role when you wait for callback.
import e32 #import module
from SomeBigLibrary import * # takes a very long time !
e32.ao_yield()
# your codes follow