FWAsyncSentinel


@interface FWAsyncSentinel : NSObject

FWSentinel is a thread safe incrementing counter. It may be used in some multi-threaded situation.

  • Returns the current value of the counter.

    Declaration

    Objective-C

    @property (readonly) int32_t value;
  • Increase the value atomically.

    Declaration

    Objective-C

    - (int32_t)increase;

    Return Value

    The new value.