Re: Co-thread for parallel processing
Randi Botse <[email protected]> Fri, 2 Dec 2011 17:10:52 +0700
| Newsgroups | gmane.linux.c-programming |
|---|---|
| Message-ID | <CAA6iF_6eNdKuTFge_9Ddxfag14SfMP4uKEfV8Ka_hTLFGMWzwA@mail.gmail.com> |
> I would use a semaphore... Ok, let see what I can do with that. 2. Just forget that, that might be caused by my frustation... ;) > 2. After calling pthread_cond_signal() or pthread_cond_broadcast() > followed by sleep()/nanosleep(), > the condition variable looks like not signaled, (the co-thread > routine doesn't run). What make this? I don't understand, please provide a working example > Bogdan -- To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html