mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 06:05:58 -06:00
17 lines
260 B
C++
17 lines
260 B
C++
//#BLITZ_PROHIBIT
|
|
|
|
// This file is explicitly removed from BLITZ to avoid inline optimizations
|
|
|
|
#ifndef flagNONAMESPACE
|
|
namespace Upp {
|
|
#endif
|
|
|
|
void Set__(volatile bool& b)
|
|
{
|
|
//WriteMemoryBarrier should be here
|
|
b = true;
|
|
}
|
|
|
|
#ifndef flagNONAMESPACE
|
|
};
|
|
#endif
|