Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Multitasking In Series60 Phone

DZone's Guide to

Multitasking In Series60 Phone

·
Free Resource

import e32
from SomeBigLibrary import *

e32.ao_yield()
# 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.
Topics:

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

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

{{ parent.tldr }}

{{ parent.urlSource.name }}