[OpenSER-Devel] dialog module global vars
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Fri May 30 12:27:55 CEST 2008
Dan,
context switching is something far, far away and so far was only a
hypothetical discussion - nobody did the technical evaluation of such a
change. So, I will not "buy" this argument.. :)....Anyhow, there are
hundreds of other global variables and if there is no realistic argument
for changing any of them, I do not see why to do it....
Regards,
Bogdan
Dan Pascu wrote:
> On Friday 30 May 2008, Bogdan-Andrei Iancu wrote:
>
>> Hi Dan,
>>
>> The variable is global as it is used by two functions. Anyhow, the
>> variable is declared static, so it cannot be accessed (read - messed)
>> from outside the file.
>>
>
> Right now, no. But if we need context switching it will be messed from
> inside the file, unless saved/restored. Any function using it is not
> reentrant, so you cannot call it more than once at a time.
>
> Also do you speak of the TM variable or the dialog variable?
>
>
More information about the Devel
mailing list