-
公开(公告)号:US20190205113A1
公开(公告)日:2019-07-04
申请号:US15861132
申请日:2018-01-03
Applicant: Huawei Technologies Co., Ltd.
Inventor: Marcus Theodore Chernenko Karpoff , Jose Nelson Amaral , Kai-Ting Amy Wang , Brice Adam Dobry
Abstract: An embodiment method for retiring a dynamically updatable function includes receiving, by a collector-thread, a registration of the function, wherein the registration indicates to the collector-thread addresses of memory locations for counters that count a number of calls currently being made to a previous version of the function by a plurality of execution threads; reading, by the collector-thread, values of the counters; and when the values of all the counters are zero, deleting, by the collector-thread, the function from a storage medium on a device previously executing the previous version of the function.
-
公开(公告)号:US10564955B2
公开(公告)日:2020-02-18
申请号:US15861132
申请日:2018-01-03
Applicant: Huawei Technologies Co., Ltd.
Inventor: Marcus Theodore Chernenko Karpoff , Jose Nelson Amaral , Kai-Ting Amy Wang , Brice Adam Dobry
Abstract: An embodiment method for retiring a dynamically updatable function includes receiving, by a collector-thread, a registration of the function, wherein the registration indicates to the collector-thread addresses of memory locations for counters that count a number of calls currently being made to a previous version of the function by a plurality of execution threads; reading, by the collector-thread, values of the counters; and when the values of all the counters are zero, deleting, by the collector-thread, the function from a storage medium on a device previously executing the previous version of the function.
-