1//
2// TORThread.h
3// Tor
4//
5// Created by Conrad Kramer on 7/19/15.
6//
7
8#import <Foundation/Foundation.h>
9
10NS_ASSUME_NONNULL_BEGIN
11
12@class TORConfiguration;
13
14NS_SWIFT_NAME(TorThread)
15@interface TORThread : NSThread
16
17#if __has_feature(objc_class_property)
18@property (class, readonly, nullable) TORThread *activeThread;
19#else
20+ (nullable TORThread *)activeThread;
21#endif
22
23- (instancetype)initWithConfiguration:(nullable TORConfiguration *)configuration;
24- (instancetype)initWithArguments:(nullable NSArray<NSString *> *)arguments NS_DESIGNATED_INITIALIZER;
25
26@end
27
28NS_ASSUME_NONNULL_END