View | Details | Raw Unified | Return to bug 171252
Collapse All | Expand All

(-)work/bitcoin-bitcoin-6e0c5e3/src/util.h (-5 lines)
Lines 290-297 Link Here
290
        LeaveCritical(); \
290
        LeaveCritical(); \
291
    }
291
    }
292
292
293
#ifdef MAC_OSX
294
// boost::interprocess::interprocess_semaphore seems to spinlock on OSX; prefer polling instead
295
class CSemaphore
293
class CSemaphore
296
{
294
{
297
private:
295
private:
Lines 328-336 Link Here
328
        val++;
326
        val++;
329
    }
327
    }
330
};
328
};
331
#else
332
typedef boost::interprocess::interprocess_semaphore CSemaphore;
333
#endif
334
329
335
inline std::string i64tostr(int64 n)
330
inline std::string i64tostr(int64 n)
336
{
331
{

Return to bug 171252