Over a million developers have joined DZone.

Multitasking In Series60 Phone


import e32
from SomeBigLibrary import *

# your codes follow

Series60 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.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}