MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / create

Method create

Libraries/Async/Async.cpp:893–901  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

891SC::AsyncEventLoop::AsyncEventLoop() : internal(internalOpaque.get()) {}
892
893SC::Result SC::AsyncEventLoop::create(Options options)
894{
895 SC_TRY_MSG(not internal.initialized, "already created");
896 SC_TRY(internal.kernelQueue.get().createEventLoop(options));
897 SC_TRY(internal.kernelQueue.get().createSharedWatchers(*this));
898 internal.initialized = true;
899 internal.createOptions = options;
900 return SC::Result(true);
901}
902
903SC::Result SC::AsyncEventLoop::close()
904{

Callers 2

createAsyncTCPSocketMethod · 0.45
createAsyncUDPSocketMethod · 0.45

Calls 6

reactivateRequestMethod · 0.80
ResultClass · 0.70
ErrorEnum · 0.50
getMethod · 0.45
setDebugNameMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected