00001 // Counter for memory leakage detection 00002 00003 #include "mutex.inc" 00004 00005 class BCCounter 00006 { 00007 public: 00008 BCCounter(); 00009 ~BCCounter(); 00010 00011 void up(); 00012 void down(); 00013 00014 Mutex *mutex; 00015 int value; 00016 };
1.4.4