On Mon, Jul 2, 2012 at 8:45 AM, Gaurav Vaish <gaurav.va...@gmail.com> wrote: > Hi, > > What is the best way to implement a thread-local / request-local > storage? > > Basically, I am looking at a way to implement per-request-singleton > object definition. > > (ThreadLocal: > http://docs.oracle.com/javase/6/docs/api/java/lang/ThreadLocal.html)
I'm not sure what you mean. Are you talking about TLS in C/C++ or something in JS?