MySQL 9.1.0
Source Code Documentation
os0once.h File Reference

A class that aids executing a given function exactly once in a multi-threaded environment. More...

#include "univ.i"
#include "os0atomic.h"
#include "ut0ut.h"

Go to the source code of this file.

Classes

class  os_once
 Execute a given function exactly once in a multi-threaded environment or wait for the function to be executed by another thread. More...
 

Detailed Description

A class that aids executing a given function exactly once in a multi-threaded environment.

Created Feb 20, 2014 Vasil Dimov