28 Nov
2003
28 Nov
'03
19:52
I got this line: ... buf->lockstart = PTHREAD_MUTEX_INITIALIZER; ... Gcc returns me an error: /home/praise/progetti/beyond/src/buffer.c:33: error: parse error before '{' token A substitution with the following line pthread_mutex_init(&buf->lockend, NULL); work properly. When does the '{' come out? Am I supposed to use PTHREAD_MUTEX_INITIALIZER only at initialization? Praise