autothread

Date:

01-09-2012

NAME

autothread, noautothread - turn autothreading on and off for selected blocks of code

SYNOPSIS

#pragma _CRI autothread
#pragma _CRI noautothread
!$DIR AUTOTHREAD
!$DIR NOAUTOTHREAD

DESCRIPTION

The autothread directive directs the compiler to turn autothreading on for selected blocks of code. The noautothread directive directs the compiler to turn autothreading off. These directives are ignored if the -h thread0 or -O thread0 options are used.

The PREFER_THREAD and PREFER_NOTHREAD advisory directives can be used to indicate a preference for threading in the loop immediately following the advisory directive. The NOAUTOTHREAD directive takes precedence over PREFER_THREAD.

SEE ALSO

intro_directives(7)