#define SEQAN_ENABLE_PARALLELISM
Indicates whether parallelism is enabled with value 0/1.

Defined in <seqan/basic.h>
Signature SEQAN_ENABLE_PARALLELISM

Detailed Description

By default, set to 1 if _OPENMP is defined and set to 0 otherwise.

Examples

If you want to change tihs value then you have to define this value before include any SeqAn header.

#define SEQAN_ENABLE_PARALLELISM 0  // ALWAYS switch off parallelism!

#include <seqan/basic.h>

int main(int argc, char ** argv)
{
    return 0;
}

Data Races

If not stated otherwise, concurrent invocation is not guaranteed to be thread-safe.