|
You can use threads, a thread for each task, give them low priorities, and a thread with the highest priority to the task that does the visual interface, and then put it in sleep the time that you consider necessary.
Think that with this schema the secondary threads will not execute in a sequencial order,
your tasks musn't depend on the others task, so you don't have problems of synchronization
|