I have a problem trying to link threads memory. I want that the counter shares the memory between threads that all of them only count to a certain number(100 in this case) and f