Requirements for Multi-Processing

The following should be considered before running an application in multi-processor mode:

The above compatibility requirements apply only to multi-threaded applications, and therefore do no apply to DOS and WINOS2 applications. However, you are strongly encouraged to write 32-bit multi-threaded applications for better performance and portability on OS/2 Warp Server for SMP.

Given the possibility that some set of applications may use one of these techniques, OS/2 Warp Server for SMP provides a mechanism that allows these multi-threaded applications to execute in UP mode. UP mode permits only one thread of that process to execute at a time. That thread could execute on any one of the available processors.

MARKEXE, described in View and Set Program Type For Executable File (MARKEXE), is used to mark an executable file as uniprocessor only. When an executable file that has the uniprocessor mode flag set is loaded, OS/2 ensures that only one thread of that process will ever execute at a time. Multiple uniprocessor only processes may be active in the system at the same time, but only one thread from each process may be active at a time.


[Back: Setting Program Type]
[Next: Data Types]