mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-02-06 11:12:09 +08:00
15 lines
281 B
C++
15 lines
281 B
C++
#include "pthread_mock.hpp"
|
|
|
|
PThreadMock::PThreadMock()
|
|
{
|
|
}
|
|
PThreadMock::~PThreadMock()
|
|
{
|
|
}
|
|
|
|
|
|
int pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *abstime)
|
|
{
|
|
return PThreadMock::get_mock().pthread_cond_timedwait(cond, mutex, abstime);
|
|
}
|