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