ui/common/condvar.c

changeset 100
d2bd73d28ff1
parent 56
294d5515583a
equal deleted inserted replaced
99:b9767cb5b06b 100:d2bd73d28ff1
26 * POSSIBILITY OF SUCH DAMAGE. 26 * POSSIBILITY OF SUCH DAMAGE.
27 */ 27 */
28 28
29 #include "condvar.h" 29 #include "condvar.h"
30 30
31 31 #include <stdlib.h>
32 32
33 UiCondVar* ui_condvar_create(void) { 33 UiCondVar* ui_condvar_create(void) {
34 UiPosixCondVar *var = malloc(sizeof(UiPosixCondVar)); 34 UiPosixCondVar *var = malloc(sizeof(UiPosixCondVar));
35 var->var.data = NULL; 35 var->var.data = NULL;
36 var->var.intdata = 0; 36 var->var.intdata = 0;

mercurial