diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-07-11 10:10:39 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-07-11 10:10:39 -0700 |
| commit | 183bd7e02c81bc09c17c6f4c0d3883d4d45221fc (patch) | |
| tree | 4954056e769d8761eff75143b0cfc44050be0198 /src/core/defs.h | |
| parent | 910564d2f67eb81a07c0c6b2af0fc0878137308b (diff) | |
| download | nng-183bd7e02c81bc09c17c6f4c0d3883d4d45221fc.tar.gz nng-183bd7e02c81bc09c17c6f4c0d3883d4d45221fc.tar.bz2 nng-183bd7e02c81bc09c17c6f4c0d3883d4d45221fc.zip | |
Eliminate the separate wrapping structure for platform mtx and cv.
Diffstat (limited to 'src/core/defs.h')
| -rw-r--r-- | src/core/defs.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/defs.h b/src/core/defs.h index 98ff5b97..69fe4843 100644 --- a/src/core/defs.h +++ b/src/core/defs.h @@ -39,10 +39,10 @@ typedef struct nni_proto_sock_ops nni_proto_sock_ops; typedef struct nni_proto_pipe_ops nni_proto_pipe_ops; typedef struct nni_proto nni_proto; -typedef struct nni_mtx nni_mtx; -typedef struct nni_cv nni_cv; -typedef struct nni_idhash nni_idhash; -typedef struct nni_thr nni_thr; +typedef struct nni_plat_mtx nni_mtx; +typedef struct nni_plat_cv nni_cv; +typedef struct nni_idhash nni_idhash; +typedef struct nni_thr nni_thr; typedef void (*nni_thr_func)(void *); typedef int nni_signal; // Wakeup channel. |
