diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-05-25 18:56:32 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-05-30 07:28:48 -0700 |
| commit | 762be97bd97fca47f1129fd15fc36ad03669f69f (patch) | |
| tree | d16f37788cd6af64f37c5cfe34efe4ae3ebee8f7 /src/platform/windows/win_impl.h | |
| parent | 7e119fae1b8d0e3c4e69459a02481debfc578de7 (diff) | |
| download | nng-762be97bd97fca47f1129fd15fc36ad03669f69f.tar.gz nng-762be97bd97fca47f1129fd15fc36ad03669f69f.tar.bz2 nng-762be97bd97fca47f1129fd15fc36ad03669f69f.zip | |
windows: drop the hEvent initialization for win_io structures.
We use overlapped I/O, so we don't need a separate hEvent.
Diffstat (limited to 'src/platform/windows/win_impl.h')
| -rw-r--r-- | src/platform/windows/win_impl.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/platform/windows/win_impl.h b/src/platform/windows/win_impl.h index 7842bdb4..1354709b 100644 --- a/src/platform/windows/win_impl.h +++ b/src/platform/windows/win_impl.h @@ -1,5 +1,5 @@ // -// Copyright 2021 Staysail Systems, Inc. <info@staysail.tech> +// Copyright 2024 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // // This software is supplied under the terms of the MIT License, a @@ -122,8 +122,7 @@ extern void nni_win_udp_sysfini(void); extern int nni_win_resolv_sysinit(void); extern void nni_win_resolv_sysfini(void); -extern int nni_win_io_init(nni_win_io *, nni_win_io_cb, void *); -extern void nni_win_io_fini(nni_win_io *); +extern void nni_win_io_init(nni_win_io *, nni_win_io_cb, void *); extern int nni_win_io_register(HANDLE); |
