summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_atomic.h
blob: b24a997c4c48ff95aa72fb574b1c243c490f33af (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _NGX_ATOMIC_H_INCLUDED_
#define _NGX_ATOMIC_H_INCLUDED_


#include <ngx_config.h>
#include <ngx_core.h>


#define ngx_atomic_inc(x)   x++;
#define ngx_atomic_dec(x)   x--;


#endif /* _NGX_ATOMIC_H_INCLUDED_ */