Unix to Windows Porting Dictionary for HPC

RSS

Links

Function List

pthread_cond_destroy


Table of Contents

Unix
Windows
Purpose
Discussion

Unix

header file: pthread.h

int pthread_cond_init(pthread_cond_t *cv, const pthread_condattr_t *cattr);

Windows

There is no Windows equivalent to this call.

Purpose

The pthread_cond_init initializes a condition variable. The attributes are set to the default if the pointer to condattr is NULL.

Discussion

There is no Windows equivalent to the pthread_cond_destroy call. Once created, a condition variable exists until the process it is contained within is deleted.

blog comments powered by Disqus
Valid HTML 4.01 Transitional Valid CSS!