Modules for Multithread Programs

A module called IFMT.MOD is supplied with Intel® Visual Fortran.

It contains interface statements to the underlying Windows API routines as well as parameter and structure definitions used by the routines. You need to include a USE IFMT statement in the declarations section of every Fortran program unit (program, subroutine, function, or module) that uses multithread API routines.

The source code for the IFMT module (IFMT.F90) contains type definitions and external function declarations. You can use it as an added reference for the calling syntax, number, and type of arguments for a multithread procedure.

Other Windows APIs that support multithreading tasks (such as window management functions) are included in the IFWIN.F90 module, available to your programs with the USE IFWIN statement.

For information about creating a Fortran Windows application, see Creating Windows Applications in Building Applications.