www.pudn.com > ccache.rar > lock.h


/******************************************************************** 
	created:	2008/01/23 
	filename: 	lock.h 
	author:		Lichuang 
                 
	purpose:     
*********************************************************************/ 
 
#ifndef __LOCK_H__ 
#define __LOCK_H__ 
 
#include  
 
int lock(pthread_mutex_t* mutex); 
int unlock(pthread_mutex_t* mutex); 
int initthreadmutex(pthread_mutex_t* mutex); 
 
#endif /* __LOCK_H__ */