[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trampolines

	Now that I think of it thread local storage could easily be simulated by passing the pointer to the shared resource down the call chain as an extra parameter.  The first guy that gets a null pointer knows it's his responsibility to allocate it, then he passes it in any call to a client who needs it.  Sounds like a job for an object.