-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ST: Support thread-local state-threads
commit 755c3b227d3207458c251156cc9bf14df9da13fc Author: winlin <winlin@vip.126.com> Date: Tue Apr 6 19:46:33 2021 +0800 ST: Change global stat variables to thread-local. commit 2307a511567cbad01c232f0afdd3c283656aee78 Author: winlin <winlin@vip.126.com> Date: Tue Apr 6 15:21:14 2021 +0800 ST: Support thread-local ST, fix bug. commit a385d361a654acd9e477ec5eef53d0eae975a63a Author: winlin <winlin@vip.126.com> Date: Mon Apr 5 12:37:53 2021 +0800 ST: Change ST to thread-local 1. All statick and global variables is thread-local. 2. Call st_init() to init st for each thread. 3. Notice that ST is isolate for threads.
- Loading branch information
Showing
6 changed files
with
60 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters