Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use _Thread_local to solve threads.h build issue #1053

Merged
merged 1 commit into from
Sep 22, 2024

Conversation

enjoy-binbin
Copy link
Member

@enjoy-binbin enjoy-binbin commented Sep 19, 2024

Apparently this will fail to compile in some masOS version.
And internet claims _Thread_local is portable.

Fixes #1051.

Apparently this will fail to compile in some masOS version.

Fixes valkey-io#1051.

Signed-off-by: Binbin <binloveplay1314@qq.com>
Copy link

codecov bot commented Sep 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.63%. Comparing base (ba71c7e) to head (2045db3).
Report is 7 commits behind head on unstable.

Additional details and impacted files
@@             Coverage Diff              @@
##           unstable    #1053      +/-   ##
============================================
+ Coverage     70.62%   70.63%   +0.01%     
============================================
  Files           114      114              
  Lines         61672    61672              
============================================
+ Hits          43555    43565      +10     
+ Misses        18117    18107      -10     
Files with missing lines Coverage Δ
src/zmalloc.c 84.58% <ø> (ø)

... and 11 files with indirect coverage changes

Copy link
Member

@madolson madolson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Internet claims _Thread_local is portable, so I'm okay with this.

@enjoy-binbin enjoy-binbin added the release-notes This issue should get a line item in the release notes label Sep 22, 2024
@enjoy-binbin enjoy-binbin merged commit d07c297 into valkey-io:unstable Sep 22, 2024
47 checks passed
@enjoy-binbin enjoy-binbin deleted the thread_local branch September 22, 2024 12:20
madolson pushed a commit to madolson/valkey that referenced this pull request Sep 30, 2024
Apparently this will fail to compile in some masOS version.
And internet claims _Thread_local is portable.

Fixes valkey-io#1051.

Signed-off-by: Binbin <binloveplay1314@qq.com>
PingXie pushed a commit to PingXie/valkey that referenced this pull request Oct 9, 2024
Apparently this will fail to compile in some masOS version.
And internet claims _Thread_local is portable.

Fixes valkey-io#1051.

Signed-off-by: Binbin <binloveplay1314@qq.com>
naglera pushed a commit to naglera/placeholderkv that referenced this pull request Oct 10, 2024
Apparently this will fail to compile in some masOS version.
And internet claims _Thread_local is portable.

Fixes valkey-io#1051.

Signed-off-by: Binbin <binloveplay1314@qq.com>
Signed-off-by: naglera <anagler123@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes This issue should get a line item in the release notes
Projects
Status: Done
2 participants