Skip to content

Issue4658 timeout#4673

Draft
manfred-brands wants to merge 3 commits intonunit:mainfrom
manfred-brands:issue4658_Timeout
Draft

Issue4658 timeout#4673
manfred-brands wants to merge 3 commits intonunit:mainfrom
manfred-brands:issue4658_Timeout

Conversation

@manfred-brands
Copy link
Copy Markdown
Member

This PR adds support for proper Timeout to .NET 8.0

Main item it to drop SerializationConstructor from Exception classes

From the recommended actions in dotnet/docs#34893:

Consider whether you truly need your custom exception type to be serializable. Chances are you do not need it to be serializable, as exception serialization is primarily intended to support remoting, and support for remoting was dropped in .NET Core 1.0.
Also support Abort/Kill on NET8

.NET 6.0 now throws PlatformNotSupportedException
This allows aborting threads stuck in Native waits
@OsirisTerje
Copy link
Copy Markdown
Member

@manfred-brands Is this still WIP, or has it been superseded by newer stuff?

@manfred-brands
Copy link
Copy Markdown
Member Author

@manfred-brands Is this still WIP, or has it been superseded by newer stuff?

@OsirisTerje unfortunately still WIP because it deadlocks on Linux/MacOs.
I'll try to get back to it.

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