5 #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERTHREADSYNCHRONIZER_H_
6 #define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERTHREADSYNCHRONIZER_H_
8 #import <Cocoa/Cocoa.h>
24 - (nullable instancetype)
init;
31 notify:(nonnull dispatch_block_t)notify;
44 notify:(nonnull dispatch_block_t)notify;
51 - (void)performOnPlatformThread:(nonnull dispatch_block_t)block;
84 - (nullable instancetype)initWithMainQueue:(nonnull dispatch_queue_t)queue;
102 - (BOOL)isWaitingWhenMutexIsAvailable;
108 - (void)blockUntilFrameAvailable;
112 #endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERTHREADSYNCHRONIZER_H_