mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Move app to a dedicated folder
This commit is contained in:
15
Telegram/Watch/Extension/SSignalKit/SThreadPool.h
Normal file
15
Telegram/Watch/Extension/SSignalKit/SThreadPool.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#import <SSignalKit/SThreadPoolTask.h>
|
||||
#import <SSignalKit/SThreadPoolQueue.h>
|
||||
|
||||
@interface SThreadPool : NSObject
|
||||
|
||||
- (instancetype)initWithThreadCount:(NSUInteger)threadCount threadPriority:(double)threadPriority;
|
||||
|
||||
- (void)addTask:(SThreadPoolTask *)task;
|
||||
|
||||
- (SThreadPoolQueue *)nextQueue;
|
||||
- (void)_workOnQueue:(SThreadPoolQueue *)queue block:(void (^)())block;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user