QDX 5.2
I have a process with 2 outbound connections that are using the same user defined tcl procedures. That group of procedures access user defined global variables. I thought that if I have 2 outbound connections running at the same time, both using the same procedures, that the globals would be shared by both connections. i.e. if either connection changes the value of the globals, the other connection will see those changes.
However, this has not been the case. When both conns are running and changing the values of the globals and I print the values to the log, the values are unique to each conn. This is what I want, but it is not how I understood it would work. For example, one global is a counter. As each thread increments this counter independently and I print out the value after each increment, the value is different for each conn.
What am I misunderstanding here?
Thanks,
Roger