www.mooseframework.org
Classes | Variables
ThreadedElementLoop.h File Reference

Go to the source code of this file.

Classes

class  ThreadedElementLoop< RangeType >
 Base class for assembly-like calculations. More...
 

Variables

static Threads::spin_mutex threaded_element_mutex
 This mutex is used by all derived classes of the ThreadedElementLoop. More...
 

Variable Documentation

Threads::spin_mutex threaded_element_mutex
static

This mutex is used by all derived classes of the ThreadedElementLoop.

It is necessary to protect the creation of the strings used in the propogation of the error messages. It's possible for a thread to have acquired the commonly used mutex in the Threads namespace so this one is here to avoid any deadlocking.

Definition at line 24 of file ThreadedElementLoop.h.

Referenced by ThreadedElementLoop< RangeType >::caughtMooseException().