Skip to content

Conversation

0x53A
Copy link
Contributor

@0x53A 0x53A commented Sep 22, 2017

@@ -128,10 +128,18 @@ internal static IActorRefProvider ResolveProvider(ICanTell self)
return null;
}

private const int RunContinuationsAsynchronously = 64;
private static bool isRunContinuationsAsynchronouslyAvailable = Enum.IsDefined(typeof(TaskCreationOptions), RunContinuationsAsynchronously);
Copy link
Member

Choose a reason for hiding this comment

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

@0x53A mark as readonly

@Aaronontheweb
Copy link
Member

@0x53A missing a public API approval: http://getakka.net/community/public-api-changes.html

@Aaronontheweb
Copy link
Member

@0x53A and the other PR we re-opened, should still look at merging that in addition to this one, correct?

@0x53A
Copy link
Contributor Author

0x53A commented Sep 22, 2017

This one supersedes the other one - you can decide which one to take (this branch is even based on the other one, but I would rebase it before you merge)

Edit: rebased

create TaskCompletionSource with RunContinuationsAsynchronously; otherwise wrap .TrySetResult in Task.Run
@0x53A 0x53A force-pushed the ask-RunContinuationsAsynchronously branch from f15f6dd to 031273c Compare September 22, 2017 21:40
@0x53A 0x53A closed this Sep 23, 2017
@0x53A 0x53A reopened this Sep 23, 2017
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.

2 participants