]> git.ipfire.org Git - thirdparty/squid.git/blob - src/ipc/AtomicWord.cc
910b1a7c5f6ae4cdaca29d8b795fa4eb0b3eaf24
[thirdparty/squid.git] / src / ipc / AtomicWord.cc
1 /*
2 * $Id$
3 *
4 * DEBUG: section 54 Interprocess Communication
5 *
6 */
7
8 #include "config.h"
9 #include "ipc/AtomicWord.h"
10 #include "protos.h"
11
12 bool Ipc::Atomic::Enabled()
13 {
14 #if HAVE_ATOMIC_OPS
15 return true;
16 #else
17 return !UsingSmp();
18 #endif
19 }