[阅读: 427] 2005-12-12 07:12:44
struct DispItem
{ int id;
bool old;
char x,y, w;
int id1;
string id2;
private:
string str;
#ifdef WIN32
HANDLE m_hEvent;
#else
pthread_mutex_t m_threadMutex;
#endif
public:
DispItem(void);
~DispItem(void);
void lock(void);
void unlock(void);
void setstr_nolock(const string s);
string getstr();
void setstr(const string s);
};