Yeah, that's exactly what want to say. Willem Jiang
Twitter: willemjiang Weibo: 姜宁willem On Fri, Apr 26, 2019 at 4:14 PM Zhang Lei <zhang_...@boco.com.cn> wrote: > > Hi, Willem Jiang > > You mean that Thread.interrupt will cause the variables in the thread to be > lost, so we need to provide a way for the user to restore the thread > variables? > > Lei Zhang > > > 在 2019年4月26日,上午8:36,Willem Jiang <willem.ji...@gmail.com> 写道: > > > > We could introduce a Context object to let the user copy the thread > > local variable across the thread. > > The context can be inject into the method which is annotated with > > Compasiable. We may need to inject the Context object into the remote > > service caller. >