Changeset 15 in libcf++ for trunk/include/cf/task.h


Ignore:
Timestamp:
06/14/15 03:03:32 (9 years ago)
Author:
cheese
Message:

#1 remove unused interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/cf/task.h

    r11 r15  
    99#include "cf/exception.h"
    1010
    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())
    1212
    1313namespace cf
     
    4040             * @return true; false
    4141             */
    42             virtual cf::bool_t locked() const = 0;
     42            virtual cf::bool_t isLocked() const = 0;
    4343        };
    4444
     
    9090             * @return true; false
    9191             */
    92             cf::bool_t locked() const;
     92            cf::bool_t isLocked() const;
    9393        };
    9494
     
    119119             * @return true; false
    120120             */
    121             cf::bool_t locked() const;
     121            cf::bool_t isLocked() const;
    122122
    123123            /**
Note: See TracChangeset for help on using the changeset viewer.