mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 20:23:06 +00:00
Halfclose (#1338)
* post SOCKET_CLOSE when HALFCLOSE_READ, see #1331 * Add closing status * Add closing stat in info, See #1333
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
|
||||
#ifdef __STDC_NO_ATOMICS__
|
||||
|
||||
#define ATOM_BYTE unsigned char
|
||||
#define ATOM_INT int
|
||||
#define ATOM_POINTER void *
|
||||
#define ATOM_SIZET size_t
|
||||
@@ -23,7 +22,6 @@
|
||||
|
||||
#include <stdatomic.h>
|
||||
|
||||
#define ATOM_BYTE atomic_uchar
|
||||
#define ATOM_INT atomic_int
|
||||
#define ATOM_POINTER atomic_uintptr_t
|
||||
#define ATOM_SIZET atomic_size_t
|
||||
|
||||
Reference in New Issue
Block a user