Welcome to the NetCologne GmbH open source mirroring service!

This machine mirrors various open-source projects. 20 Gbit/s uplink.

If there are any issues or you want another project mirrored, please contact mirror-service -=AT=- netcologne DOT de !

GetFEM: src/getfem/dal_singleton.h File Reference
GetFEM  5.4.2
dal_singleton.h File Reference

A simple singleton implementation. More...

#include <vector>
#include <memory>
#include "getfem_omp.h"

Go to the source code of this file.

Classes

class  dal::singleton< T, LEV >
 singleton class. More...
 

Namespaces

 dal
 Dynamic Array Library.
 

Detailed Description

A simple singleton implementation.

Author
Julien Pommier Julie.nosp@m.n.Po.nosp@m.mmier.nosp@m.@ins.nosp@m.a-tou.nosp@m.lous.nosp@m.e.fr
Date
May 2004. Singleton was made thread safe for OpenMP However, now there is a singleton instance for every thread (singleton is thread local). This replicates the behaviour of singletons in distributed MPI-like environment;

Definition in file dal_singleton.h.