dotnet / dotnet-api-docs

.NET API reference documentation (.NET 5+, .NET Core, .NET Framework)
https://docs.microsoft.com/dotnet/api/
Other
725 stars 1.56k forks source link

ThreadInterruptedException not documented in Thread.Join(TimeSpan) #10621

Open Stefan137 opened 18 hours ago

Stefan137 commented 18 hours ago

Type of issue

Missing information

Description

According to typical implementations (cf. dotnet/runtime and microsoft/referencesource), Thread.Join(TimeSpan) uses the same underlying implementation as Thread.Join() and Thread.Join(Int32). However, the documentation of Thread.Join(TimeSpan) does not mention that it can throw ThreadInterruptedException.

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.threading.thread.join?view=net-8.0

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Threading/Thread.xml

Document Version Independent Id

a436bcdf-2ca1-535f-a9ef-82f7a6df28eb

Article author

@dotnet-bot