discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] scheduler doubt


From: Yogesh Dahiya
Subject: [Discuss-gnuradio] scheduler doubt
Date: Sat, 15 Jun 2013 07:51:43 +0530

sorry for last post it accidentally got posted

so i have work function which has infinite loop
while(1):
    #some work
    if condition
        do some more work
now when this block get turn every thing is stuck on this block, other blocks are not given time. Shouldn't it be that after some time it is put on hold other blocks are given   cpu time and after some time it get its turn back and start from where it left

2. prob
I want my block to be called  even when there is no input to ports (depending on some internal condition which is changing with time i want to do some work). So for that i have set 

self.input_config(0).reserve_items = 0
self.input_config(1).reserve_items = 0

(I have two input ports) but its not working



reply via email to

[Prev in Thread] Current Thread [Next in Thread]