From dev-return-6057-archive-asf-public=cust-asf.ponee.io@servicecomb.apache.org Fri Apr 26 10:41:39 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id ADA3618064C for ; Fri, 26 Apr 2019 12:41:39 +0200 (CEST) Received: (qmail 53664 invoked by uid 500); 26 Apr 2019 10:41:39 -0000 Mailing-List: contact dev-help@servicecomb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@servicecomb.apache.org Delivered-To: mailing list dev@servicecomb.apache.org Received: (qmail 53652 invoked by uid 99); 26 Apr 2019 10:41:38 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Apr 2019 10:41:38 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 3D76FC285C for ; Fri, 26 Apr 2019 10:41:38 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.2 X-Spam-Level: X-Spam-Status: No, score=-0.2 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id aVpdOuiVF1JT for ; Fri, 26 Apr 2019 10:41:36 +0000 (UTC) Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 0E3105FB8D for ; Fri, 26 Apr 2019 10:41:36 +0000 (UTC) Received: by mail-wr1-f47.google.com with SMTP id g3so3746531wrx.9 for ; Fri, 26 Apr 2019 03:41:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=o70kC6aCfzX4GWZZMdCNpSMOn5mxBIpTzo6HIuaSSt8=; b=YVrfy25Ci5YqNxuxbDOspwlFbLoagLrf4M3UI1yZmEVqUkBDLSyJmcEinbkmmIQqXJ V3QARJ+Z43EHH8fpPtik+tdlCP6BtUYMbGY3z/JOiypD/iS8kugJBG3JndQFLCvD5SWG R2W0R5fzWnQ//WuAkUpkpXB8a7KpTOfFWkD9Lo7KVEd+0PQAtIbaXf/ftTbd0hNcsjup P8Dwgt/bwEu0VkNkrO32b9Ah05/BL36uZRmPu2VxT72oVv1h75YXY2WQ+RO3uz1JRMno Uyvvb+qq9sS2IV6M6v5va0Nci73QaJfwyDRZ+3smqT2JdPYanzRBf9HfB8GLCo6c/yYk ywFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=o70kC6aCfzX4GWZZMdCNpSMOn5mxBIpTzo6HIuaSSt8=; b=SlmNy2L0IGNQ7v9ef5VnGWH3JvqGHynJE7FpwqJNpjyadsx9ffRHX3Wu8PiObdu4Vc Q7TIc4zQE2EDln91bkLrVMOC30MeykvxMwWp6WSXTHgg/nhbcNGt7GrQhAwMRzATpSz1 ejDmvmpQx2jxOPkj3nPn7IpBLjTTnLziL2uZp07lKLzQJZYqcuOW0gJ+ZXURN4PJhm6b Qq6cFfm588U1dlSxV1DOGFJQt0U/7imlnylpbNON3pSjVfh3pTJDrZuqO749Wb5lQzzH roCmJ11ZGx1FRW+mCGUH2R5wR9CIhN83RB26nx2BxbK+aAFjFSW9OmQM9qJ0RZesSxmX zK5g== X-Gm-Message-State: APjAAAX/R+jijjMyksYvVBcgn0/6w/lY4DWJU2iFGdZm6rQVUEDkksMz KjLHoUq94buvi6aLjqD424AOZilPJW113HHYRSyUVZxq X-Google-Smtp-Source: APXvYqw117VtHPSY847jgwNRy4USomsmZuD0Zavf+RrYeJeMx689dvUhPA7DbDLVNtiLeeIjPp++6HRSN2R6cY5Ce84= X-Received: by 2002:adf:9042:: with SMTP id h60mr1063389wrh.248.1556275295595; Fri, 26 Apr 2019 03:41:35 -0700 (PDT) MIME-Version: 1.0 References: <392D47A1-C120-454A-A03D-C1C2A8072DEA@boco.com.cn> <6667FF07-6B8C-4CC7-94B1-C74C9F6370AB@boco.com.cn> <85B40531-E7BC-47F7-8C24-5C7ED31025A9@boco.com.cn> In-Reply-To: <85B40531-E7BC-47F7-8C24-5C7ED31025A9@boco.com.cn> From: Willem Jiang Date: Fri, 26 Apr 2019 18:41:23 +0800 Message-ID: Subject: Re: [Saga] About Omega's timeout process To: dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Yeah, that's exactly what want to say. Willem Jiang Twitter: willemjiang Weibo: =E5=A7=9C=E5=AE=81willem On Fri, Apr 26, 2019 at 4:14 PM Zhang Lei 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 var= iables? > > Lei Zhang > > > =E5=9C=A8 2019=E5=B9=B44=E6=9C=8826=E6=97=A5=EF=BC=8C=E4=B8=8A=E5=8D=88= 8:36=EF=BC=8CWillem Jiang =E5=86=99=E9=81=93=EF=BC= =9A > > > > 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. >