Skip to content

Instantly share code, notes, and snippets.

View kArTeL's full-sized avatar

Neil García kArTeL

  • Universidad de Costa Rica
  • San José
View GitHub Profile
/// Observes a run loop to detect any stalling or blocking that occurs.
///
/// This class is thread-safe.
@interface GHRunLoopWatchdog : NSObject
/// Initializes the receiver to watch the specified run loop, using a default
/// stalling threshold.
- (id)initWithRunLoop:(CFRunLoopRef)runLoop;
/// Initializes the receiver to detect when the specified run loop blocks for