Over a million developers have joined DZone.

Multitasking In Series60 Phone

DZone's Guide to

Multitasking In Series60 Phone

· ·
Free Resource

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.

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}