q define atomic directive in fortanatomic


Q. Define Atomic Directive in FORTAN?

Atomic directive guarantees a specific storage location is updated atomically rather than exposing it to odds of multiple simultaneous writing threads. Syntax of atomic directive is

#pragma omp atomic

expression_statement

Atomic directive implements a significant section resourcefully when critical section basically updates a variable by arithmetic operation defined by expression_statement.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: q define atomic directive in fortanatomic
Reference No:- TGS0324016

Expected delivery within 24 Hours