Repo created
This commit is contained in:
parent
81b91f4139
commit
f8c34fa5ee
22732 changed files with 4815320 additions and 2 deletions
19
TMessagesProj/jni/voip/tgcalls/platform/darwin/SQueue.h
Normal file
19
TMessagesProj/jni/voip/tgcalls/platform/darwin/SQueue.h
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface SQueue : NSObject
|
||||
|
||||
+ (SQueue * _Nonnull)mainQueue;
|
||||
+ (SQueue * _Nonnull)concurrentDefaultQueue;
|
||||
+ (SQueue * _Nonnull)concurrentBackgroundQueue;
|
||||
|
||||
+ (SQueue * _Nonnull)wrapConcurrentNativeQueue:(dispatch_queue_t _Nonnull)nativeQueue;
|
||||
|
||||
- (void)dispatch:(dispatch_block_t _Nonnull)block;
|
||||
- (void)dispatchSync:(dispatch_block_t _Nonnull)block;
|
||||
- (void)dispatch:(dispatch_block_t _Nonnull)block synchronous:(bool)synchronous;
|
||||
|
||||
- (dispatch_queue_t _Nonnull)_dispatch_queue;
|
||||
|
||||
- (bool)isCurrentQueue;
|
||||
|
||||
@end
|
||||
Loading…
Add table
Add a link
Reference in a new issue