<< Previous question   Table of contents   MOSIX home   Next question >>

Question:

How to run a threaded application

Answer:

Threaded applications are created by the "CLONE_VM" system-call which uses shared-memory, and thus are not suitable for distributed-memory architectures.

In MOSIX it is possible to run threaded applications as standard Linux processes. Such applications cannot be migrated, but can still benefit from MOSIX features such as queuing and best initial-assignment.

To launch threaded applications use "mosrun -E".