//
//  XTEventLoopBridge.h
//  TadsTerp
//
//  Created by Rune Berg on 06/03/14.
//  Copyright (c) 2014 Rune Berg. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface XTEventLoopBridge : NSObject

+ (instancetype) bridgeWithName:(NSString *)name;

- (void)reset;

- (NSUInteger)waitForSignal;

- (BOOL)isWaiting;

- (void)signal:(NSUInteger)value;

@end
