Hi, I want to set flag bits from my DSR. I have a number of threads that are running in the thread loop and pending on mbox.
I'm setting bits in the flag from my DSR and later call cyg_thread_release() to wake up the threads from the mbox_get() >From the threads I would use cyg_event_poll() to read the event bits, not using the CYG_FLAG_WAITMODE_CLR My question is regarding the set_bits() Does it clear the bits in the flag if no threads are waiting on the flag? Thanks Elad -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss