nag_using_threaded_impl (x06xac) (PDF version)
x06 Chapter Contents
x06 Chapter Introduction
NAG Library Manual

NAG Library Function Document

nag_using_threaded_impl (x06xac)

 Contents

    1  Purpose
    7  Accuracy
    10  Example

1  Purpose

nag_using_threaded_impl (x06xac) returns 1 when using a multi-threaded implementation of the NAG Library and 0 otherwise.

2  Specification

#include <nag.h>
#include <nagx06.h>
Integer  nag_using_threaded_impl ()

3  Description

nag_using_threaded_impl (x06xac) can be used to determine whether you are using a serial or multi-threaded implementation of the NAG Library. In particular, with this information the behaviour of the other routines in this chapter can be predicted, as described in the x06 Chapter Introduction.
The function returns 1 when a multi-threaded implementation of the Library is being used and 0 if a serial implementation is being used.

4  References

None.

5  Arguments

None.

6  Error Indicators and Warnings

None.

7  Accuracy

Not applicable.

8  Parallelism and Performance

nag_using_threaded_impl (x06xac) is not threaded in any implementation.

9  Further Comments

None.

10  Example

None.

nag_using_threaded_impl (x06xac) (PDF version)
x06 Chapter Contents
x06 Chapter Introduction
NAG Library Manual

© The Numerical Algorithms Group Ltd, Oxford, UK. 2016