Changed the naming convention for member variables (prefix changed from "my" to "m_")
This commit is contained in:
parent
15e9d999b3
commit
ff5b69d312
124 changed files with 1889 additions and 1889 deletions
|
@ -35,28 +35,28 @@ namespace priv
|
|||
////////////////////////////////////////////////////////////
|
||||
ThreadLocalImpl::ThreadLocalImpl()
|
||||
{
|
||||
pthread_key_create(&myKey, NULL);
|
||||
pthread_key_create(&m_key, NULL);
|
||||
}
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
ThreadLocalImpl::~ThreadLocalImpl()
|
||||
{
|
||||
pthread_key_delete(myKey);
|
||||
pthread_key_delete(m_key);
|
||||
}
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
void ThreadLocalImpl::SetValue(void* value)
|
||||
{
|
||||
pthread_setspecific(myKey, value);
|
||||
pthread_setspecific(m_key, value);
|
||||
}
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
void* ThreadLocalImpl::GetValue() const
|
||||
{
|
||||
return pthread_getspecific(myKey);
|
||||
return pthread_getspecific(m_key);
|
||||
}
|
||||
|
||||
} // namespace priv
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue