mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +00:00
![]() Since the existing Promise class is designed with deferred tasks on the main thread only, we need a new class that will ensure we can handle promises that are resolved/rejected off the main thread. This new class ensures that the callbacks are only called on the same thread that the promise is fulfilled from. If the callbacks are not set before the thread tries to fulfill the promise, it will spin until they are so that they will run on that thread. |
||
---|---|---|
.. | ||
10kb.txt | ||
CMakeLists.txt | ||
long_lines.txt | ||
small.txt | ||
TestLibCoreArgsParser.cpp | ||
TestLibCoreDeferredInvoke.cpp | ||
TestLibCoreFilePermissionsMask.cpp | ||
TestLibCoreFileWatcher.cpp | ||
TestLibCorePromise.cpp | ||
TestLibCoreSharedSingleProducerCircularQueue.cpp | ||
TestLibCoreStream.cpp |