Subversion Repositories public

Rev

Rev 63 | Rev 67 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 63 Rev 65
Line 501... Line 501...
501
  Inotify* m_pInotify;  ///< inotify object
501
  Inotify* m_pInotify;  ///< inotify object
502
  bool m_fEnabled;      ///< events enabled yes/no
502
  bool m_fEnabled;      ///< events enabled yes/no
503
 
503
 
504
  IN_LOCK_DECL
504
  IN_LOCK_DECL
505
 
505
 
506
  /// Disables the watch (if it has the one-shot flag).
506
  /// Disables the watch (due to removing by the kernel).
507
  /**
507
  /**
508
   * This method must be called after receiving an event.
508
   * This method must be called after receiving an event.
509
   * It ensures the watch object is consistent with the kernel
509
   * It ensures the watch object is consistent with the kernel
510
   * data.
510
   * data.
511
   */
511
   */
512
  void OnOneshotEvent();
512
  void __Disable();
513
};
513
};
514
514
515
515
516
/// Mapping from watch descriptors to watch objects.
516
/// Mapping from watch descriptors to watch objects.
517
typedef std::map<int32_t, InotifyWatch*> IN_WATCH_MAP;
517
typedef std::map<int32_t, InotifyWatch*> IN_WATCH_MAP;