P/Invoke And Threads Resource Manager

未关闭
#49,112 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
25/100
Issue 类型
文档
描述清晰度
需要澄清
活跃度
停滞
技术栈
cpp, csharp
领域
documentation

调研方向

从 docs/standard/native-interop/pinvoke.md 开始,检查其中对 C# P/Invoke、原生 DLL 调用和线程处理的覆盖情况。确定有关 P/Invoke 和线程资源管理的指南或相关材料是否应归入本文;当所要求的关联已以准确的范围和术语记录或链接时,即视为完成。未提及测试。

由索引模型根据 Issue 内容生成。

描述

:watch: Not Triaged dotnet-fundamentals/svc
Type of issue

Missing information

Description

When learning C#, I attempted to compare the C++'s OpenMP and the C#’s Parallel.For. While calling the cpp_DLL in the program, it seemed like only one thread was running. I couldn’t find any articles discussing the relationship between C# P/Invoke and thread resource management. If such articles exist, could they be included in the relevant materials?

Page URL

https://learn.microsoft.com/zh-cn/dotnet/standard/native-interop/pinvoke

Content source URL

https://github.com/dotnet/docs/blob/main/docs/standard/native-interop/pinvoke.md

Document Version Independent Id

931f4809-51f0-5b61-30ec-760bcfe44cb8

Platform Id

d497c58e-9356-615c-76cf-7d7dd1c14ffb

Article author

@jkoritzinsky

Metadata
  • ID: cf08b819-7446-dc6c-8040-d55ecccd317d
  • PlatformId: d497c58e-9356-615c-76cf-7d7dd1c14ffb
  • Service: dotnet-fundamentals

Related Issues

主要语言
没有语言数据
星标
4.8k
派生
6.1k
平均合并
1 天 53 分钟
30 天内合并 PR
308

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

dotnet/docs 的其他 Issue

查看 dotnet/docs 的全部 Issue

相似的 Issue

更多 Documentation Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。