Threads and Semaphores

Up: GEOS SDK TechDocs | Up | Down | Next: 1 Multitasking Goals
| One-page Version of this Chapter for Easy Printing

One of the most impressive features of GEOS is its ability to perform several tasks simultaneously, even on the least powerful PCs. Of course, the PC has only one processor and can execute only one instruction at a time. GEOS keeps track of the various tasks, or threads , that are underway, and by switching from one thread to another many times per second creates the illusion that the PC is actually doing all the jobs at the same time.

This chapter covers

You will need to know the information in this appendix if you will be writing a multi-threaded application. The information in the appendix is not essential if your application will be single-threaded or if you will use the standard GEOS dual-thread architecture. For a dual-thread application, be careful not to send a message with @call from an object run by a user interface thread to an object run by any other thread of the application.


Up: GEOS SDK TechDocs | Up | Down | Next: 1 Multitasking Goals
| One-page Version of this Chapter for Easy Printing