I agree that it has to be in thread-specific locations, but it seems to me that the thread stack is the natural place.