weixin_39595164
2021-01-11 12:43 阅读 0

System.Threading.Tests.MutexTests hanging in Uap

This two tests are hanging in uap:

CrossProcess_NamedMutex_ProtectedFileAccessAtomic AbandonExisting

Sorce code: https://github.com/dotnet/corefx/blob/master/src/System.Threading/tests/MutexTests.cs#L142-L201

They both hang when calling new Mutex(false, name) and the name contains "Global\\" as its prefix.

cc:

该提问来源于开源项目:dotnet/runtime

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

10条回答 默认 最新

  • weixin_40005887 weixin_40005887 2021-01-11 12:43

    I'm assuming this is because they are hitting app container and not gracefully handling that.

    点赞 评论 复制链接分享
  • weixin_39896256 weixin_39896256 2021-01-11 12:43

    Need to port changeset 1656573 from ProjectN branch.

    点赞 评论 复制链接分享
  • weixin_40005887 weixin_40005887 2021-01-11 12:43

    this will come automatically right?

    点赞 评论 复制链接分享
  • weixin_39854369 weixin_39854369 2021-01-11 12:43

    CoreCLR issue: https://github.com/dotnet/coreclr/issues/11306

    Does this need to go into 2.0 or is 2.1 sufficient?

    点赞 评论 复制链接分享
  • weixin_39854369 weixin_39854369 2021-01-11 12:43

    I'll go ahead and port this, it needs some changes in the PAL as well

    点赞 评论 复制链接分享
  • weixin_39722563 weixin_39722563 2021-01-11 12:43

    CoreCLR changes are not syn'd to N/CoreRT , need to be manually ported. Thanks for doing it.

    点赞 评论 复制链接分享
  • weixin_40005887 weixin_40005887 2021-01-11 12:43

    fyi there is some sharing: corelib\src\mscorlib\shared syncs with corert\src\System.Private.CoreLib\shared automatically

    点赞 评论 复制链接分享
  • weixin_39854369 weixin_39854369 2021-01-11 12:43

    Closing as dupe of https://github.com/dotnet/coreclr/issues/11306

    点赞 评论 复制链接分享
  • weixin_39595164 weixin_39595164 2021-01-11 12:43

    Note that the affected tests where disabled with [ActiveIssue] pointing to this issue.

    点赞 评论 复制链接分享
  • weixin_39854369 weixin_39854369 2021-01-11 12:43

    Yes I have added a link to those to the other issue as well

    点赞 评论 复制链接分享

相关推荐