| 891 | SC::AsyncEventLoop::AsyncEventLoop() : internal(internalOpaque.get()) {} |
| 892 | |
| 893 | SC::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 | |
| 903 | SC::Result SC::AsyncEventLoop::close() |
| 904 | { |
no test coverage detected