Semaphores and co-rutines

Posted by Pablo Peluffo on July 8, 2008
I've started a project where I mix task, co-rutines and semaphores but after a while it reboots.
I think the problem may be because I try to get the semaphore from inside the co-rutines.
Can anybody help me if is it possible or should be avoided ?

Many thanks.

RE: Semaphores and co-rutines

Posted by MEdwards on July 8, 2008
You cannot share a queue between a task and a coroutine so if this is what you are doing it could be the source of your problem. Semaphores use queues.