skeeto / skeeto/w64devkit

Support for mcfgthreads?

Open
#302 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
4.8k
Forks
381
PR merge metrics
No merged PRs in 30d

Description

I work on a project that needs to ship C++ toolchains to users, and I'm excited to try w64devkit as an option. This project also relies heavily on thread-local variables in some situations, which means we have observed dramatic speed differences (in the ballpark of 2x) between winpthreads and other implementations like mcfgthread (or clang-cl using native Windows threading code)

I'm frankly not terribly familiar with the technical details (such as if it is possible to support both winpthreads and mcfgthreads in the same distribution), but there might be more information in issues like this one against msys

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked MSYS2 discussion about mcfgthread and comparing its implications with winpthreads in w64devkit's C/C++ toolchain distribution. Determine whether both implementations can be supported and what integration or packaging changes would be required; done means a concrete support plan or a documented feasibility conclusion.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, cpp
Domain
build-system, devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.