Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:24
erlang
3211-Optimize-timer-by-using-a-private-table.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 3211-Optimize-timer-by-using-a-private-table.patch of Package erlang
From 6277ae0ef18b95c6c0f6bfa15c3703b87286bc85 Mon Sep 17 00:00:00 2001 From: Maria Scott <maria-12648430@hnc-agency.org> Date: Tue, 19 Dec 2023 16:29:59 +0100 Subject: [PATCH] Optimize timer by using a private table --- lib/stdlib/src/timer.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/stdlib/src/timer.erl b/lib/stdlib/src/timer.erl index c02fc18427..0ba16a430c 100644 --- a/lib/stdlib/src/timer.erl +++ b/lib/stdlib/src/timer.erl @@ -479,7 +479,7 @@ start_link() -> -spec init([]) -> {'ok', ets:tid()}. init([]) -> process_flag(trap_exit, true), - Tab = ets:new(?MODULE, []), + Tab = ets:new(?MODULE, [private]), {ok, Tab}. %% server calls -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor