• Cedric Roux's avatar
    nr-ue: fix T tracer · 1409e3bc
    Cedric Roux authored
    T tracer was not functional anymore. because init_tpools() was called
    before T_Config_Init().
    
    The problem was that init_tpools() creates some threads and T_Config_Init()
    does call fork() and the child process (which is the one running the
    softmodem, the parent process is used to monitor it, this is the design
    of the T tracer, maybe to change at some point, it's too complicated) has
    no thread after the fork(). The threads created by init_tpools() are gone.
    Game over.
    
    In conclusion: T_Config_Init() has to be called very early in the life of
    the softmodem, at least before init_tpools().
    1409e3bc
nr-uesoftmodem.c 18.2 KB