src/connectivity/wlan/drivers/testing/lib/sim-env/sim-env.cc
// Since all events are processed synchronously, we don't have to worry about locking.
Since all events are processed synchronously, we don't have to worry about locking.
Since all events are processed synchronously we don ' t have to worry about locking .
zx_status_t Environment::CancelNotification(uint64_t id) {
  for (auto& event_iter : events_) {
    if (event_iter->id == id) {
      events_.remove(event_iter);
      return ZX_OK;
    }
  }
  return ZX_ERR_NOT_FOUND;
}
zx_status_t Environment :: CancelNotification ( uint64_t id ) { for ( auto & event_iter : events_ ) { if ( event_iter -> id == id ) { events_ . remove ( event_iter ) ; return ZX_OK ; } } return ZX_ERR_NOT_FOUND ; }
Since all events are processed synchronously, we don't have to worry about locking.
Since all events are processed synchronously we don ' t have to worry about locking .