1
0
mirror of synced 2025-12-19 18:06:02 -05:00
Files
core/release-notes/2.1/api-diff/2.0-vs-2.1_System.Threading.md
Rich Lander f82833aa44 Update dotnetcli domain -- 2.x and 3.x (#9687)
* Fix linter errors

* Fix linter errors

* Fix linter errors

* Fix linter errors

* Fix linter errors

* Fix linter errors

* Fix linter errors

* Fix linter errors

* Fix linter errors

* Update linter errors
2025-01-13 09:39:23 -08:00

706 B

System.Threading

 namespace System.Threading {
-    public struct CancellationToken
+    public readonly struct CancellationToken
-    public struct CancellationTokenRegistration : IDisposable, IEquatable<CancellationTokenRegistration> {
+    public readonly struct CancellationTokenRegistration : IDisposable, IEquatable<CancellationTokenRegistration> {
+        public CancellationToken Token { get; }
     }
     public sealed class Thread : CriticalFinalizerObject {
+        public static int GetCurrentProcessorId();
     }
     public static class ThreadPool {
+        public static bool QueueUserWorkItem<TState>(Action<TState> callBack, TState state, bool preferLocal);
     }
 }