[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Multimon (POCSAG/AX.25/DTMF/ZVEI) decoder 0.1b
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] Multimon (POCSAG/AX.25/DTMF/ZVEI) decoder 0.1b |
Date: |
Wed, 13 Jul 2005 11:03:27 -0700 |
User-agent: |
Mutt/1.5.6i |
On Wed, Jul 13, 2005 at 11:19:45AM +0200, Urs Schaufelberger wrote:
> Yes, I'm currently in the process of cleaning up the code, this is one of the
> things I'll have to look into.
>
> One of the main problems I'm currently having is that I've haven't
> wrapped all of multimon's original C code into a C++ class, a lot of
> stuff are still global functions and variables which causes trouble
> when trying to run multiple instances of multimon, as I'd like to
> for concurrent multi-channel operation (the various instances then
> start overwriting "each others" global variables..)
>
> Any ideas how this could be solved with the least possible effort?
> Maybe Python offers something to keep several instances of the same
> class in different memory spaces or something?
Sorry, no ideas outside of getting rid of the globals and passing a
pointer to a struct or class that contains the relevant state to all
functions that need it.
Eric