Reimplementd IX with OpenSSL

This commit is contained in:
Kilian committed 2022-09-05 01:41:09 +02:00
1 parent 5e80c41538
commit 71656e4a66
214 files changed
+44919 -99

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
/*
* IXSelectInterruptFactory.cpp
* Author: Benjamin Sergeant
* Copyright (c) 2019 Machine Zone, Inc. All rights reserved.
*/
#include "IXSelectInterruptFactory.h"
#include "IXUniquePtr.h"
#if _WIN32
#include "IXSelectInterruptEvent.h"
#else
#include "IXSelectInterruptPipe.h"
#endif
namespace ix
{
SelectInterruptPtr createSelectInterrupt()
{
#ifdef _WIN32
return ix::make_unique<SelectInterruptEvent>();
#else
return ix::make_unique<SelectInterruptPipe>();
#endif
}
} // namespace ix