I think he wants variables static to the function, so each time a specific thread calls the function, it remembers its variables. but, if a different thread calls the function, it gets the values of the last time it called the function...
The only way I can think of doing it is have a set of globals for each thread.
The only way I can think of doing it is have a set of globals for each thread.