Created
July 12, 2020 07:08
-
-
Save bibhas/5c242cf20f9bc691a4a4224fe67660e7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // SUGlobalUpdateLock.h | |
| // Sparkle | |
| // | |
| // Created by Bibhas Acharya on 7/12/20. | |
| // Copyright © 2020 Sparkle Project. All rights reserved. | |
| // | |
| #ifndef SUGLOBALUPDATELOCK_H | |
| #define SUGLOBALUPDATELOCK_H | |
| #import <Foundation/Foundation.h> | |
| @interface SUGlobalUpdateLock : NSObject | |
| + (SUGlobalUpdateLock *)sharedLock; | |
| - (BOOL)tryLock; | |
| - (void)unlock; | |
| @end | |
| #endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment