René's URL Explorer Experiment


Title: GitHub - lhmouse/mcfgthread: Cornerstone of the MOST efficient std::thread on Windows for mingw-w64 · GitHub

Open Graph Title: GitHub - lhmouse/mcfgthread: Cornerstone of the MOST efficient std::thread on Windows for mingw-w64

X Title: GitHub - lhmouse/mcfgthread: Cornerstone of the MOST efficient std::thread on Windows for mingw-w64

Description: Cornerstone of the MOST efficient std::thread on Windows for mingw-w64 - lhmouse/mcfgthread

Open Graph Description: Cornerstone of the MOST efficient std::thread on Windows for mingw-w64 - lhmouse/mcfgthread

X Description: Cornerstone of the MOST efficient std::thread on Windows for mingw-w64 - lhmouse/mcfgthread

Opengraph URL: https://github.com/lhmouse/mcfgthread

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:60f7a101-cd13-4606-8957-975ea901d4c2
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idAE86:26BCF:9213AA:CE85DB:6A4BDA28
html-safe-nonce2a691935980ed72b2fe84a4074274e8c91b92d41e74c234e28926978e3c1c1a7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTg2OjI2QkNGOjkyMTNBQTpDRTg1REI6NkE0QkRBMjgiLCJ2aXNpdG9yX2lkIjoiMzk5NzYxMzEzNTQ4OTY1MzI4OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc038639e6c31cf2bc050c0ce0ce2aef62cbf838972ebbb0e5ba61a6ea95c19fb
hovercard-subject-tagrepository:56123116
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/lhmouse/mcfgthread
twitter:imagehttps://opengraph.githubassets.com/e8b813ded0e539042b17118ea85df73a6ceb5dad6558699eb983f5ea7ea0dc3e/lhmouse/mcfgthread
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e8b813ded0e539042b17118ea85df73a6ceb5dad6558699eb983f5ea7ea0dc3e/lhmouse/mcfgthread
og:image:altCornerstone of the MOST efficient std::thread on Windows for mingw-w64 - lhmouse/mcfgthread
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None9df996be9551ac02247d09a2f7f64ece66c35ca28885d346e98fdfda9cdaa37b
turbo-cache-controlno-cache
go-importgithub.com/lhmouse/mcfgthread git https://github.com/lhmouse/mcfgthread.git
octolytics-dimension-user_id5071344
octolytics-dimension-user_loginlhmouse
octolytics-dimension-repository_id56123116
octolytics-dimension-repository_nwolhmouse/mcfgthread
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id56123116
octolytics-dimension-repository_network_root_nwolhmouse/mcfgthread
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7242837c61fe4c8b774b83b9ee05b1881ba589f8
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/lhmouse/mcfgthread/#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flhmouse%2Fmcfgthread%2F
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flhmouse%2Fmcfgthread%2F
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=lhmouse%2Fmcfgthread
Reloadhttps://github.com/lhmouse/mcfgthread/
Reloadhttps://github.com/lhmouse/mcfgthread/
Reloadhttps://github.com/lhmouse/mcfgthread/
lhmouse https://github.com/lhmouse
mcfgthreadhttps://github.com/lhmouse/mcfgthread
Notifications https://github.com/login?return_to=%2Flhmouse%2Fmcfgthread
Fork 33 https://github.com/login?return_to=%2Flhmouse%2Fmcfgthread
Star 318 https://github.com/login?return_to=%2Flhmouse%2Fmcfgthread
Code https://github.com/lhmouse/mcfgthread
Issues 2 https://github.com/lhmouse/mcfgthread/issues
Pull requests 1 https://github.com/lhmouse/mcfgthread/pulls
Discussions https://github.com/lhmouse/mcfgthread/discussions
Actions https://github.com/lhmouse/mcfgthread/actions
Wiki https://github.com/lhmouse/mcfgthread/wiki
Security and quality 0 https://github.com/lhmouse/mcfgthread/security
Insights https://github.com/lhmouse/mcfgthread/pulse
Code https://github.com/lhmouse/mcfgthread
Issues https://github.com/lhmouse/mcfgthread/issues
Pull requests https://github.com/lhmouse/mcfgthread/pulls
Discussions https://github.com/lhmouse/mcfgthread/discussions
Actions https://github.com/lhmouse/mcfgthread/actions
Wiki https://github.com/lhmouse/mcfgthread/wiki
Security and quality https://github.com/lhmouse/mcfgthread/security
Insights https://github.com/lhmouse/mcfgthread/pulse
https://github.com/lhmouse/mcfgthread
Brancheshttps://github.com/lhmouse/mcfgthread/branches
Tagshttps://github.com/lhmouse/mcfgthread/tags
https://github.com/lhmouse/mcfgthread/branches
https://github.com/lhmouse/mcfgthread/tags
2,500 Commitshttps://github.com/lhmouse/mcfgthread/commits/master/
https://github.com/lhmouse/mcfgthread/commits/master/
.github/workflowshttps://github.com/lhmouse/mcfgthread/tree/master/.github/workflows
.github/workflowshttps://github.com/lhmouse/mcfgthread/tree/master/.github/workflows
.vscodehttps://github.com/lhmouse/mcfgthread/tree/master/.vscode
.vscodehttps://github.com/lhmouse/mcfgthread/tree/master/.vscode
crosshttps://github.com/lhmouse/mcfgthread/tree/master/cross
crosshttps://github.com/lhmouse/mcfgthread/tree/master/cross
dochttps://github.com/lhmouse/mcfgthread/tree/master/doc
dochttps://github.com/lhmouse/mcfgthread/tree/master/doc
licenseshttps://github.com/lhmouse/mcfgthread/tree/master/licenses
licenseshttps://github.com/lhmouse/mcfgthread/tree/master/licenses
mcfgthreadhttps://github.com/lhmouse/mcfgthread/tree/master/mcfgthread
mcfgthreadhttps://github.com/lhmouse/mcfgthread/tree/master/mcfgthread
patcheshttps://github.com/lhmouse/mcfgthread/tree/master/patches
patcheshttps://github.com/lhmouse/mcfgthread/tree/master/patches
testhttps://github.com/lhmouse/mcfgthread/tree/master/test
testhttps://github.com/lhmouse/mcfgthread/tree/master/test
.editorconfighttps://github.com/lhmouse/mcfgthread/blob/master/.editorconfig
.editorconfighttps://github.com/lhmouse/mcfgthread/blob/master/.editorconfig
.gitignorehttps://github.com/lhmouse/mcfgthread/blob/master/.gitignore
.gitignorehttps://github.com/lhmouse/mcfgthread/blob/master/.gitignore
LICENSE.mdhttps://github.com/lhmouse/mcfgthread/blob/master/LICENSE.md
LICENSE.mdhttps://github.com/lhmouse/mcfgthread/blob/master/LICENSE.md
README.mdhttps://github.com/lhmouse/mcfgthread/blob/master/README.md
README.mdhttps://github.com/lhmouse/mcfgthread/blob/master/README.md
check_includes.shhttps://github.com/lhmouse/mcfgthread/blob/master/check_includes.sh
check_includes.shhttps://github.com/lhmouse/mcfgthread/blob/master/check_includes.sh
meson.buildhttps://github.com/lhmouse/mcfgthread/blob/master/meson.build
meson.buildhttps://github.com/lhmouse/mcfgthread/blob/master/meson.build
meson.optionshttps://github.com/lhmouse/mcfgthread/blob/master/meson.options
meson.optionshttps://github.com/lhmouse/mcfgthread/blob/master/meson.options
setup_meson.shhttps://github.com/lhmouse/mcfgthread/blob/master/setup_meson.sh
setup_meson.shhttps://github.com/lhmouse/mcfgthread/blob/master/setup_meson.sh
READMEhttps://github.com/lhmouse/mcfgthread/
Licensehttps://github.com/lhmouse/mcfgthread/
https://github.com/lhmouse/mcfgthread/#the-mcf-gthread-library
https://github.com/lhmouse/mcfgthread/#benchmark-results
a benchmark programhttps://github.com/lhmouse/mcfgthread/blob/master/doc/benchmark_mutex.c
https://github.com/lhmouse/mcfgthread/blob/master/doc/benchmark_result_win11_26200_i9_14900k.png
https://github.com/lhmouse/mcfgthread/blob/master/doc/benchmark_result_win11_26200_ryzen9_9950x3d.png
https://github.com/lhmouse/mcfgthread/blob/master/doc/benchmark_result_win11_26200_snapdragon_8cxg3.png
https://github.com/lhmouse/mcfgthread/blob/master/doc/benchmark_result_win11_26100_ryzen9_7900x.png
https://github.com/lhmouse/mcfgthread/blob/master/doc/benchmark_result_win7_sp1_i7_7700.png
https://github.com/lhmouse/mcfgthread/blob/master/doc/benchmark_result_wine10.0_linux_i7_1165g7.png
https://github.com/lhmouse/mcfgthread/#how-to-build
https://github.com/lhmouse/mcfgthread/#msys2
hacking the CRThttps://github.com/lhmouse/MINGW-packages/blob/0274a6e7e0da258cf5e32efe6e4427454741fa32/mingw-w64-crt-git/9003-crt-Implement-standard-conforming-termination-suppor.patch
https://github.com/lhmouse/mcfgthread/#linux
crosshttps://github.com/lhmouse/mcfgthread/blob/master/cross
https://github.com/lhmouse/mcfgthread/#clang-for-msvc
https://github.com/llvm/llvm-project/releases/https://github.com/llvm/llvm-project/releases/
https://github.com/lhmouse/mcfgthread/#implementation-details
https://github.com/lhmouse/mcfgthread/#the-condition-variable
https://github.com/lhmouse/mcfgthread/#the-primitive-mutex
https://github.com/lhmouse/mcfgthread/#the-real-mutex
https://github.com/lhmouse/mcfgthread/#the-once-initialization-flag
https://github.com/lhmouse/mcfgthread/#list-of-imported-functions
https://github.com/lhmouse/mcfgthread/#kernel32dll
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-createthread
Windows APIhttps://learn.microsoft.com/en-us/previous-versions/bb432242(v=vs.85)
Windows APIhttps://learn.microsoft.com/en-us/previous-versions/bb432254(v=vs.85)
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-exitthread
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-formatmessagew
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/libloaderapi/nf-libloaderapi-freelibrary
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/errhandlingapi/nf-errhandlingapi-getlasterror
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/libloaderapi/nf-libloaderapi-getmodulefilenamew
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/libloaderapi/nf-libloaderapi-getmodulehandleexw
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/libloaderapi/nf-libloaderapi-getprocaddress
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/heapapi/nf-heapapi-getprocessheap
Windows APIhttps://learn.microsoft.com/en-us/windows/console/getstdhandle
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/sysinfoapi/nf-sysinfoapi-getsysteminfo
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/sysinfoapi/nf-sysinfoapi-getsystemtimeasfiletime
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/sysinfoapi/nf-sysinfoapi-getsystemtimepreciseasfiletime
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-getthreadpriority
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/heapapi/nf-heapapi-heapalloc
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/heapapi/nf-heapapi-heapfree
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/heapapi/nf-heapapi-heaprealloc
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/heapapi/nf-heapapi-heapsetinformation
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/heapapi/nf-heapapi-heapsize
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/psapi/nf-psapi-enumprocessmodules
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/libloaderapi/nf-libloaderapi-loadlibraryexw
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/profileapi/nf-profileapi-queryperformancecounter
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/profileapi/nf-profileapi-queryperformancefrequency
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/realtimeapiset/nf-realtimeapiset-queryunbiasedinterrupttime
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/errhandlingapi/nf-errhandlingapi-raisefailfastexception
Windows APIhttps://learn.microsoft.com/en-us/windows/console/setconsolectrlhandler
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/errhandlingapi/nf-errhandlingapi-setlasterror
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-setthreadpriority
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-switchtothread
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-terminateprocess
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-tlsalloc
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-tlsgetvalue
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-tlsgetvalue2
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-tlssetvalue
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/memoryapi/nf-memoryapi-virtualprotect
Windows APIhttps://learn.microsoft.com/en-us/windows/console/writeconsole
https://github.com/lhmouse/mcfgthread/#kernelbasedll
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/realtimeapiset/nf-realtimeapiset-queryinterrupttime
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/realtimeapiset/nf-realtimeapiset-queryinterrupttimeprecise
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/api/realtimeapiset/nf-realtimeapiset-queryunbiasedinterrupttimeprecise
https://github.com/lhmouse/mcfgthread/#ntdlldll
Windows Driver APIhttps://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/nf-wdm-zwclose
Windows Driver APIhttps://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/nf-wdm-zwcreatesection
Windows Driver APIhttps://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/ntifs/nf-ntifs-zwduplicateobject
Windows Driver APIhttps://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/nf-wdm-zwmapviewofsection
Windows Driver APIhttps://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/nf-wdm-zwunmapviewofsection
Windows Driver APIhttps://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/ntifs/nf-ntifs-zwwaitforsingleobject
Windows APIhttps://learn.microsoft.com/en-us/windows/win32/devnotes/rtldllshutdowninprogress
Windows Driver APIhttps://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/nf-wdm-rtlfillmemory
Windows Driver APIhttps://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/nf-wdm-rtlmovememory
Windows Driver APIhttps://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/ntifs/nf-ntifs-rtlntstatustodoserror
Windows Driver APIhttps://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/nf-wdm-rtlzeromemory
web.libera.chat/#mcfprojhttps://web.libera.chat/#mcfproj
windows https://github.com/topics/windows
gcc https://github.com/topics/gcc
thread https://github.com/topics/thread
mingw https://github.com/topics/mingw
mutex https://github.com/topics/mutex
mingw-w64 https://github.com/topics/mingw-w64
Readme https://github.com/lhmouse/mcfgthread/#readme-ov-file
View license https://github.com/lhmouse/mcfgthread/#License-1-ov-file
Please reload this pagehttps://github.com/lhmouse/mcfgthread/
Activityhttps://github.com/lhmouse/mcfgthread/activity
33 forkshttps://github.com/lhmouse/mcfgthread/forks
Report repository https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Flhmouse%2Fmcfgthread&report=lhmouse+%28user%29
Releases 53https://github.com/lhmouse/mcfgthread/releases
v2.4 General Availability 2 Released Latest Jul 2, 2026 https://github.com/lhmouse/mcfgthread/releases/tag/v2.4-ga.2
+ 52 releaseshttps://github.com/lhmouse/mcfgthread/releases
Please reload this pagehttps://github.com/lhmouse/mcfgthread/
Contributorshttps://github.com/lhmouse/mcfgthread/graphs/contributors
Please reload this pagehttps://github.com/lhmouse/mcfgthread/
C 78.2% https://github.com/lhmouse/mcfgthread/search?l=c
C++ 18.7% https://github.com/lhmouse/mcfgthread/search?l=c%2B%2B
Meson 2.9% https://github.com/lhmouse/mcfgthread/search?l=meson
Shell 0.2% https://github.com/lhmouse/mcfgthread/search?l=shell
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.