aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/c-ares/atomic.cpp
blob: e193a64b378515bf756d092fcdfb7dc88f6c6724 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <util/system/spinlock.h>

#include "atomic.h"

EXTERN_C void acquire_lock(atomic_t *lock)
{
    AcquireAdaptiveLock(lock);
}

EXTERN_C void release_lock(atomic_t *lock)
{
    ReleaseAdaptiveLock(lock);
}