Skip to content

[WIP] Add APIs for multithreaded task environment#12608

Closed
AR-May wants to merge 12 commits intodotnet:mainfrom
AR-May:new-tasks-api-implementations-2
Closed

[WIP] Add APIs for multithreaded task environment#12608
AR-May wants to merge 12 commits intodotnet:mainfrom
AR-May:new-tasks-api-implementations-2

Conversation

@AR-May
Copy link
Member

@AR-May AR-May commented Oct 6, 2025

Fixes #11828, #11829, #11830

@AR-May AR-May self-assigned this Oct 6, 2025
Copy link
Member

@JanProvaznik JanProvaznik left a comment

Choose a reason for hiding this comment

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

first pass looks OK, I'll look again and definitely needs another reviewer

AR-May added a commit that referenced this pull request Oct 14, 2025
Related to #11828

Changes:
This PR introduces the core APIs that enable thread-safe task execution
in MSBuild's multithreaded execution model. These APIs provide safe
alternatives to global process state operations, allowing
`IMultithreadable` tasks to run concurrently within a single MSBuild
process.

Node:
Adding multithreaded APIs in order to unblock #12617
Extracted APIs from #12608

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Chet Husk <chusk3@gmail.com>
@AR-May
Copy link
Member Author

AR-May commented Dec 1, 2025

Closing in favor for newer PRs.

@AR-May AR-May closed this Dec 1, 2025
JanProvaznik added a commit that referenced this pull request Dec 3, 2025
rework of #12608 after merging
#12651
fixes #11829,
#11830
#12850
#12802
### Context


### Changes Made
1. refactor communicationutilities to support the taskenvironmentdrivers
2. propagate taskenvironment throughout execution
3. enlightening intrinsic tasks

### Testing
simple sample projects using the intrinsictasks build

### Notes
"normal tasks" will be enlightened in subsequent PRs
included the intrinsic tasks in this PR so it's integration testable

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Design and add new Task API Contract

2 participants