Part IV. Framework for threaded/asynchronous jobs

Table of Contents

ExoJob — Base class for threaded/asynchronous jobs
ExoSimpleJob — Simple interface to execute functions asynchronously

ExoJob provides a simple way to deal with threaded/asynchronous operations (called jobs here). It can be used to wrap any kind of blocking function calls like file operations or web service communication. It can be subclassed to add additional signals for progress information or password requests. ExoSimpleJob is useful in situations where you don't need additional signals. It takes a ExoSimpleJobFunc callback and creates a job so one doesn't have to subclass ExoJob just to execute a single function asynchronously.