Changeset 15 in libcf++ for trunk/include/cf/task.h
- Timestamp:
- 06/14/15 03:03:32 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/cf/task.h
r11 r15 9 9 #include "cf/exception.h" 10 10 11 #define SYNCHRONIZED(_s) for (cf::task::scopedLock _sl(&_s) ; _sl. locked() ; _sl.unlock())11 #define SYNCHRONIZED(_s) for (cf::task::scopedLock _sl(&_s) ; _sl.isLocked() ; _sl.unlock()) 12 12 13 13 namespace cf … … 40 40 * @return true; false 41 41 */ 42 virtual cf::bool_t locked() const = 0;42 virtual cf::bool_t isLocked() const = 0; 43 43 }; 44 44 … … 90 90 * @return true; false 91 91 */ 92 cf::bool_t locked() const;92 cf::bool_t isLocked() const; 93 93 }; 94 94 … … 119 119 * @return true; false 120 120 */ 121 cf::bool_t locked() const;121 cf::bool_t isLocked() const; 122 122 123 123 /**
Note:
See TracChangeset
for help on using the changeset viewer.