RE: multithread problem

2007-05-22 Thread Rafi Cohen
Message- From: guy keren [mailto:[EMAIL PROTECTED] Sent: Monday, May 21, 2007 1:49 PM To: Rafi Cohen Cc: [EMAIL PROTECTED] Org. Il Subject: Re: multithread problem Rafi Cohen wrote: Hi, I'm asking for further assistance for yet another problem I encounter with my project, this time

multithread problem

2007-05-21 Thread Rafi Cohen
Hi, I'm asking for further assistance for yet another problem I encounter with my project, this time concerning multithreads. In order to explain my problem, I'll write a short example: main: pthread_mutex_lock(mut); flag = 0; pthread_cond_broadcast(cond); printf(after signal: flag=%d\n, flag);

Re: multithread problem

2007-05-21 Thread guy keren
Rafi Cohen wrote: Hi, I'm asking for further assistance for yet another problem I encounter with my project, this time concerning multithreads. In order to explain my problem, I'll write a short example: main: pthread_mutex_lock(mut); flag = 0; pthread_cond_broadcast(cond); printf(after signal: