Skip to content

Commit

Permalink
Implement an ntci::Reactor using io_uring
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrm456 committed Apr 21, 2023
1 parent 6a31502 commit e09acc5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion groups/ntc/ntcs/ntcs_event.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ BSLS_IDENT_RCSID(ntcs_event_cpp, "$Id$ $CSID$")

#if defined(BSLS_PLATFORM_OS_WINDOWS)
#include <windows.h>
#include <winsock2.h>
#endif

namespace BloombergLP {
Expand Down Expand Up @@ -304,7 +305,7 @@ Event::Event(bslma::Allocator* basicAllocator)
#endif

#if defined(BSLS_PLATFORM_OS_WINDOWS)
BSLMF_ASSERT(sizeof(d_address) >= sizeof(struct ::sockaddr_storage));
BSLMF_ASSERT(sizeof(d_address) >= sizeof(SOCKADDR_STORAGE));
BSLS_ASSERT(static_cast<void*>(this) == static_cast<void*>(&d_overlapped));
#endif
}
Expand Down

0 comments on commit e09acc5

Please sign in to comment.