src/shmem.cpp
/*
 * If SetShouldExitImmediately returns true the caller should log why it
 * thought everyone should exit immediately.
 */
If SetShouldExitImmediately returns true the caller should log why it
thought everyone should exit immediately.
If SetShouldExitImmediately returns true the caller should log why it thought everyone should exit immediately .
bool
BPSGISharedMemory::SetShouldExitImmediately()
{
	auto m = (std::atomic<int_fast8_t> *) (shared_memory_segment_ + SHMEM_SHOULD_EXIT_IMMEDIATELY_OFF);
	return std::atomic_exchange(m, (int_fast8_t) 1) == (int_fast8_t) 0;
}
bool BPSGISharedMemory :: SetShouldExitImmediately ( ) { auto m = ( std :: atomic < int_fast8_t > * ) ( shared_memory_segment_ + SHMEM_SHOULD_EXIT_IMMEDIATELY_OFF ) ; return std :: atomic_exchange ( m , ( int_fast8_t ) 1 ) == ( int_fast8_t ) 0 ; }
If SetShouldExitImmediately returns true the caller should log why it
 thought everyone should exit immediately.
If SetShouldExitImmediately returns true the caller should log why it thought everyone should exit immediately .