On Fri, Aug 21, 2009 at 11:59:41PM -0700, shesh wrote: > > hi, > i am working on a spectrum sense code. in the following statement > self.msgq = gr.msg_queue(16) > is there any significance for the number 16?does changing this number > affect the performance of the code? > kindly help.
It sets the limit to the number of messages in the queue. 0 means no limit. If the queue is full, an attempt to add a message will block until there's room. (Note also that gr_message_sink also has an option that will have it drop messages if the message queue is full.) Eric _______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
