In my Loadrunner program, I have an initialization block in vuser_init that modifies the value of a handle.
static int handle =0;
Init(&handle);
In this case the pointer to the handle is modified by the Init function. The modified handle is used by other functions as parameters within the Action block. The problem is that the static value of handle works for the first thread but not for others since they all read the same static value. What I need is a static value of handle per thread so that the Action block called during each iteration for a thread can get its own handle. Is there a way to save the handles into a list or map or some structure in C that is recognized by Loadrunner?