Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Expose some threading types and members - #11229

Merged
kouvel merged 5 commits into
dotnet:dev/apifrom
kouvel:Api
Sep 13, 2016
Merged

Expose some threading types and members#11229
kouvel merged 5 commits into
dotnet:dev/apifrom
kouvel:Api

Conversation

@kouvel

@kouvel kouvel commented Aug 29, 2016

Copy link
Copy Markdown

Fixes #10933:

  • Exposed some members of WaitHandle
  • Moved SafeHandle and SafeWaitHandle from System.Runtime.Handles to System.Runtime, due to dependency from WaitHandle
  • Exposed some types derived from SafeHandle, and changed SafeWaitHandle's base class
  • Exposed some deserialization constructors
  • Moved and added tests as appropriate

@kouvel

kouvel commented Aug 30, 2016

Copy link
Copy Markdown
Author

@kouvel

kouvel commented Aug 30, 2016

Copy link
Copy Markdown
Author

@dotnet-bot test this please

Comment thread src/System.Runtime/tests/project.json Outdated
"System.ObjectModel": "4.0.13-beta-devapi-24424-01",
"System.Reflection": "4.1.1-beta-devapi-24424-01",
"System.Reflection.Emit": "4.0.2-beta-devapi-24424-01",
"System.Runtime": "4.2.0-beta-devapi-24424-01",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't think you need this given that the test csproj should have a .pkgproj reference to System.Runtime already

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Oh right, fixed

@weshaggard

Copy link
Copy Markdown
Member

A couple clean-up notes but otherwise looks good.

{
public partial class CriticalHandle
{
// Manually added because CriticalFinalizerObject.Finalize is removed.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Since you're adding back CriticalFinalizerObject, will this be removed? (I guess in a subsequent PR?)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Missed this, I have added it now to issue #11231, will take care of it as part of that.

@stephentoub

Copy link
Copy Markdown
Member

Some minor questions/comments, but LGTM. Thanks, @kouvel.

@kouvel

kouvel commented Aug 31, 2016

Copy link
Copy Markdown
Author

Also added netstandard1.7 to the System.Runtime.Handles test project.json

@kouvel

kouvel commented Aug 31, 2016

Copy link
Copy Markdown
Author

@dotnet-bot test this please

@joperezr

joperezr commented Sep 1, 2016

Copy link
Copy Markdown
Member

Also added netstandard1.7 to the System.Runtime.Handles test project.json

just as FYI, @kouvel the ns1.7 tests won't run just yet as part of the CI, I'm super close to merging my changes, so you might want to hold off your change for a few hours so that your ns1.7 tests actually run before merging

@kouvel

kouvel commented Sep 1, 2016

Copy link
Copy Markdown
Author

@joperezr, sure, I can wait. I've run them locally successfully so not expecting any issues.

@weshaggard

Copy link
Copy Markdown
Member

@kouvel for future reference it is best for reviewers if you just make new commits instead of squashing to one commit for all tweaks. That makes reviewing the deltas much easier and you can just squash before merge.

<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<NoWarn>1718</NoWarn>
<NugetTargetMoniker Condition="'$(TargetGroup)'=='netstandard1.7' AND '$(NugetTargetMoniker)'==''">.NETStandard,Version=v1.7</NugetTargetMoniker>
<NugetTargetMoniker Condition="'$(TargetGroup)'=='netstandard1.7'">.NETStandard,Version=v1.7</NugetTargetMoniker>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

minor: This property is already set in dir.props (https://github.com/dotnet/corefx/blob/dev/api/dir.props#L363), based on the TargetGroup.

@weshaggard

Copy link
Copy Markdown
Member

LGTM

@kouvel

kouvel commented Sep 1, 2016

Copy link
Copy Markdown
Author

@dotnet-bot test this please

@joperezr

joperezr commented Sep 2, 2016

Copy link
Copy Markdown
Member

I'm about to merge #11366 , can we hold this change till after that's done?

@kouvel

kouvel commented Sep 8, 2016

Copy link
Copy Markdown
Author

@dotnet-bot test this please

@joperezr

joperezr commented Sep 8, 2016

Copy link
Copy Markdown
Member

@kouvel looks like your build issues are all ApiCompat related. I suppose that this is happening in the uap10.1 build, which in that case you can just create a baseline for those issues and then log an issue to remove the baseline once the implementation is available on the .NetNative Targeting pack

@kouvel

kouvel commented Sep 9, 2016

Copy link
Copy Markdown
Author

@dotnet-bot test this please

1 similar comment
@kouvel

kouvel commented Sep 9, 2016

Copy link
Copy Markdown
Author

@dotnet-bot test this please

@kouvel

kouvel commented Sep 9, 2016

Copy link
Copy Markdown
Author

Thanks @joperezr, I have added the compat issues to the uap101aot baseline and filed #11575 to track their removal.

@kouvel

kouvel commented Sep 12, 2016

Copy link
Copy Markdown
Author

@dotnet-bot test this please

1 similar comment
@kouvel

kouvel commented Sep 12, 2016

Copy link
Copy Markdown
Author

@dotnet-bot test this please

@joperezr

Copy link
Copy Markdown
Member

@kouvel looks like you have to rebase before you test

@kouvel

kouvel commented Sep 12, 2016

Copy link
Copy Markdown
Author

Was just wondering why this test failure is occurring only on my PR. I'll wait for the bot update to the package numbers and will merge again.

@kouvel

kouvel commented Sep 12, 2016

Copy link
Copy Markdown
Author

Oh there was an update earlier this morning I guess

Koundinya Veluri added 5 commits September 12, 2016 14:37
Fixes #10933:
- Exposed some members of WaitHandle
- Moved SafeHandle and SafeWaitHandle from System.Runtime.Handles to System.Runtime, due to dependency from WaitHandle
- Exposed some types derived from SafeHandle, and changed SafeWaitHandle's base class
- Exposed some deserialization constructors
- Moved and added tests as appropriate
@kouvel
kouvel merged commit d419292 into dotnet:dev/api Sep 13, 2016
@kouvel
kouvel deleted the Api branch September 13, 2016 03:48
@karelz karelz modified the milestone: 1.2.0 Dec 3, 2016
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
Expose some threading types and members

Fixes dotnet/corefx#10933:
- Exposed some members of WaitHandle
- Moved SafeHandle and SafeWaitHandle from System.Runtime.Handles to System.Runtime, due to dependency from WaitHandle
- Exposed some types derived from SafeHandle, and changed SafeWaitHandle's base class
- Exposed some deserialization constructors
- Moved and added tests as appropriate

Commit migrated from dotnet/corefx@d419292
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants