Re: A Question About Gnuradio OOT Block Startup, Sleeping the Block

2022-12-15 Thread Jeff Long
If your block is purely a message source, override start() and have it set an flag, e.g., a pthreads condition or Python threading.Event. The message generation portion (thread?) of your block should wait on the flag before sending anything. Otherwise, you would be sending messages out in response

A Question About Gnuradio OOT Block Startup, Sleeping the Block

2022-12-15 Thread Brian Brown
Hi! I am designing a message in-out OOT block that has a similar structure to the Message Strobe. It is ought to send packets as soon as the Gnuradio runtime permits. I realized that it is necessary to sleep the block off of any work for a short period of time to surpass the "block::start();" init