Sha256: 7c9bf45625ecff93aa8e655ae666dda144d74aab7358694abf6f57c0d4cd1a85

Contents?: true

Size: 557 Bytes

Versions: 7

Compression:

Stored size: 557 Bytes

Contents

#import <Foundation/Foundation.h>
#import "YapDatabaseConnection.h"


@interface YapDatabaseConnectionState : NSObject {
@private
	dispatch_semaphore_t writeSemaphore;

@public
	__weak YapDatabaseConnection *connection;
	
	BOOL yapLevelSharedReadLock;
	BOOL sqlLevelSharedReadLock;
	BOOL longLivedReadTransaction;
	
	BOOL yapLevelExclusiveWriteLock;
	BOOL waitingForWriteLock;
	
	uint64_t lastKnownSnapshot;
}

- (id)initWithConnection:(YapDatabaseConnection *)connection;

- (void)prepareWriteLock;

- (void)waitForWriteLock;
- (void)signalWriteLock;

@end

Version data entries

7 entries across 3 versions & 1 rubygems

Version Path
motion-yapper-0.0.3 vendor/Pods/BuildHeaders/YapDatabase/YapDatabaseConnectionState.h
motion-yapper-0.0.3 vendor/Pods/YapDatabase/YapDatabase/Internal/YapDatabaseConnectionState.h
motion-yapper-0.0.2 vendor/Pods/BuildHeaders/YapDatabase/YapDatabaseConnectionState.h
motion-yapper-0.0.2 vendor/Pods/YapDatabase/YapDatabase/Internal/YapDatabaseConnectionState.h
motion-yapper-0.0.1 vendor/Pods/Headers/YapDatabase/YapDatabaseConnectionState.h
motion-yapper-0.0.1 vendor/Pods/YapDatabase/YapDatabase/Internal/YapDatabaseConnectionState.h
motion-yapper-0.0.1 vendor/Pods/BuildHeaders/YapDatabase/YapDatabaseConnectionState.h