[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Using static variables in work function of an OOT
From: |
Sylvain Munaut |
Subject: |
Re: [Discuss-gnuradio] Using static variables in work function of an OOT module. |
Date: |
Tue, 9 Feb 2016 17:01:49 +0100 |
Hi,
I still don't get why you need static variable at all.
If you need state, just make it a class member of the xx_impl class
and that will survive across calls to work.
That's the proper way to do it, and that definitely works fine.
Cheers,
Sylvain