Beispiel #1
0
extern "C" int pthread_cond_destroy(pthread_cond_t *cond)
{
  WRAPPER_HEADER(int, pthread_cond_destroy, _real_pthread_cond_destroy, cond);

  if (SYNC_IS_REPLAY) {
    WRAPPER_REPLAY(pthread_cond_destroy);
  } else if (SYNC_IS_RECORD) {
    retval = _real_pthread_cond_destroy(cond);
    WRAPPER_LOG_WRITE_ENTRY(pthread_cond_destroy);
  }
  return retval;
}
extern "C" int
pthread_cond_destroy(pthread_cond_t *cond)
{
  return _real_pthread_cond_destroy(cond);
}