From d29e7e5f5b56b1c186790a3b9242b0a669562800 Mon Sep 17 00:00:00 2001 From: pkulikov Date: Tue, 29 Jan 2019 20:08:55 +0100 Subject: [PATCH] Redirect the AutoResetEvent article to its API reference --- .openpublishing.redirection.json | 4 +++ docs/standard/threading/autoresetevent.md | 25 ------------------- docs/standard/threading/countdownevent.md | 2 +- ...etevent-countdownevent-manualresetevent.md | 7 ++---- docs/standard/threading/eventwaithandle.md | 2 +- ...nualresetevent-and-manualreseteventslim.md | 4 +-- .../overview-of-synchronization-primitives.md | 2 +- .../threading-objects-and-features.md | 2 +- docs/standard/threading/toc.md | 3 +-- 9 files changed, 13 insertions(+), 38 deletions(-) delete mode 100644 docs/standard/threading/autoresetevent.md diff --git a/.openpublishing.redirection.json b/.openpublishing.redirection.json index 6ef02252a1410..aa4c6e8a24c08 100644 --- a/.openpublishing.redirection.json +++ b/.openpublishing.redirection.json @@ -1976,6 +1976,10 @@ "source_path": "docs/standard/serialization/web-services-ixmlserializable-technology-sample.md", "redirect_url": "/previous-versions/dotnet/netframework-4.0/h2byscsb(v=vs.100)" }, + { + "source_path": "docs/standard/threading/autoresetevent.md", + "redirect_url": "/dotnet/api/system.threading.autoresetevent" + }, { "source_path": "docs/standard/threading/interlocked-operations.md", "redirect_url": "/dotnet/api/system.threading.interlocked" diff --git a/docs/standard/threading/autoresetevent.md b/docs/standard/threading/autoresetevent.md deleted file mode 100644 index 52e2bf403c522..0000000000000 --- a/docs/standard/threading/autoresetevent.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: "AutoResetEvent" -ms.date: "03/30/2017" -ms.technology: dotnet-standard -helpviewer_keywords: - - "threading [.NET Framework], AutoResetEvent class" - - "AutoResetEvent class" -ms.assetid: 6d39c48d-6b37-4a9b-8631-f2924cfd9c18 -author: "rpetrusha" -ms.author: "ronpet" ---- -# AutoResetEvent -The class represents a local wait handle event that resets automatically when signaled, after releasing a single waiting thread. This class represents a special case of its base class, . See the [EventWaitHandle](../../../docs/standard/threading/eventwaithandle.md) conceptual documentation for the use and features of automatic reset events. - - An object is automatically reset to non-signaled by the system after a single waiting thread has been released. If no threads are waiting, the event object's state remains signaled. - - For an example that uses , see . - -## See also - -- -- -- [EventWaitHandle, AutoResetEvent, CountdownEvent, ManualResetEvent](eventwaithandle-autoresetevent-countdownevent-manualresetevent.md) -- [Threading objects and features](threading-objects-and-features.md) -- [Threading](index.md) diff --git a/docs/standard/threading/countdownevent.md b/docs/standard/threading/countdownevent.md index 134f23784bd69..4340a94a74508 100644 --- a/docs/standard/threading/countdownevent.md +++ b/docs/standard/threading/countdownevent.md @@ -43,4 +43,4 @@ ms.author: "ronpet" ## See also -- [EventWaitHandle, AutoResetEvent, CountdownEvent, ManualResetEvent](../../../docs/standard/threading/eventwaithandle-autoresetevent-countdownevent-manualresetevent.md) +- [EventWaitHandle, CountdownEvent, ManualResetEvent](../../../docs/standard/threading/eventwaithandle-autoresetevent-countdownevent-manualresetevent.md) diff --git a/docs/standard/threading/eventwaithandle-autoresetevent-countdownevent-manualresetevent.md b/docs/standard/threading/eventwaithandle-autoresetevent-countdownevent-manualresetevent.md index 21e2c437a1cd2..2181bc9186c1b 100644 --- a/docs/standard/threading/eventwaithandle-autoresetevent-countdownevent-manualresetevent.md +++ b/docs/standard/threading/eventwaithandle-autoresetevent-countdownevent-manualresetevent.md @@ -1,5 +1,5 @@ --- -title: "EventWaitHandle, AutoResetEvent, CountdownEvent, ManualResetEvent" +title: "EventWaitHandle, CountdownEvent, ManualResetEvent" ms.date: "09/14/2018" ms.technology: dotnet-standard helpviewer_keywords: @@ -10,7 +10,7 @@ ms.assetid: cd94fc34-ac15-427f-b723-a1240a4fab7d author: "rpetrusha" ms.author: "ronpet" --- -# EventWaitHandle, AutoResetEvent, CountdownEvent, ManualResetEvent +# EventWaitHandle, CountdownEvent, ManualResetEvent Event wait handles allow threads to synchronize activities by signaling each other and by waiting on each other's signals. These synchronization events are based on operating system wait handles and can be divided into two types: those that reset automatically when signaled and those that are reset manually. @@ -21,9 +21,6 @@ Event wait handles are useful in many of the same synchronization scenarios as t [EventWaitHandle](eventwaithandle.md) The class can represent either automatic or manual reset events and either local events or named system events. - [AutoResetEvent](autoresetevent.md) - The class derives from and represents a local event that resets automatically. - [ManualResetEvent and ManualResetEventSlim](manualresetevent-and-manualreseteventslim.md) The class derives from and represents a local event that must be reset manually. The class is a lightweight, faster version that can be used for events within the same process. diff --git a/docs/standard/threading/eventwaithandle.md b/docs/standard/threading/eventwaithandle.md index ec4a1abfd7915..d1d0fa06015c1 100644 --- a/docs/standard/threading/eventwaithandle.md +++ b/docs/standard/threading/eventwaithandle.md @@ -62,4 +62,4 @@ The class allows threads to communicate - - - -- [EventWaitHandle, AutoResetEvent, CountdownEvent, ManualResetEvent](../../../docs/standard/threading/eventwaithandle-autoresetevent-countdownevent-manualresetevent.md) +- [EventWaitHandle, CountdownEvent, ManualResetEvent](../../../docs/standard/threading/eventwaithandle-autoresetevent-countdownevent-manualresetevent.md) diff --git a/docs/standard/threading/manualresetevent-and-manualreseteventslim.md b/docs/standard/threading/manualresetevent-and-manualreseteventslim.md index 2203f2f6cfdb8..338713dd13d60 100644 --- a/docs/standard/threading/manualresetevent-and-manualreseteventslim.md +++ b/docs/standard/threading/manualresetevent-and-manualreseteventslim.md @@ -19,9 +19,9 @@ The class ## See also - -- [AutoResetEvent](autoresetevent.md) +- - [SpinWait](spinwait.md) - [Semaphore and SemaphoreSlim](semaphore-and-semaphoreslim.md) -- [EventWaitHandle, AutoResetEvent, CountdownEvent, ManualResetEvent](eventwaithandle-autoresetevent-countdownevent-manualresetevent.md) +- [EventWaitHandle, CountdownEvent, ManualResetEvent](eventwaithandle-autoresetevent-countdownevent-manualresetevent.md) - [Threading objects and features](threading-objects-and-features.md) - [Threading](index.md) diff --git a/docs/standard/threading/overview-of-synchronization-primitives.md b/docs/standard/threading/overview-of-synchronization-primitives.md index 2ba86cd2a0738..fb799d4ba8adf 100644 --- a/docs/standard/threading/overview-of-synchronization-primitives.md +++ b/docs/standard/threading/overview-of-synchronization-primitives.md @@ -106,7 +106,7 @@ The behavior of an that has been signale On Windows, you can use for the inter-process synchronization. To do that, create a instance that represents a named system synchronization event by using one of the [EventWaitHandle constructors]() that specifies a name or the method. -For more information, see the [EventWaitHandle](eventwaithandle.md), [AutoResetEvent](autoresetevent.md), and [ManualResetEvent and ManualResetEventSlim](manualresetevent-and-manualreseteventslim.md) articles. For the API reference, see , , , and . +For more information, see the [EventWaitHandle](eventwaithandle.md) and [ManualResetEvent and ManualResetEventSlim](manualresetevent-and-manualreseteventslim.md) articles. For the API reference, see , , , and . ### CountdownEvent class diff --git a/docs/standard/threading/threading-objects-and-features.md b/docs/standard/threading/threading-objects-and-features.md index be32e38ed14cd..5b51d488f353e 100644 --- a/docs/standard/threading/threading-objects-and-features.md +++ b/docs/standard/threading/threading-objects-and-features.md @@ -18,7 +18,7 @@ Along with the class |[The managed thread pool](the-managed-thread-pool.md)|Describes the class, which provides a pool of worker threads that are managed by .NET.| |[Timers](timers.md)|Describes .NET timers that can be used in a multithreaded environment.| |[Overview of synchronization primitives](overview-of-synchronization-primitives.md)|Describes types that can be used to synchronize access to a shared resource or control thread interaction.| -|[EventWaitHandle, AutoResetEvent, CountdownEvent, ManualResetEvent](eventwaithandle-autoresetevent-countdownevent-manualresetevent.md)|Describes managed event wait handles, which are used to synchronize thread activities by signaling and waiting for signals.| +|[EventWaitHandle, CountdownEvent, ManualResetEvent](eventwaithandle-autoresetevent-countdownevent-manualresetevent.md)|Describes managed event wait handles, which are used to synchronize thread activities by signaling and waiting for signals.| |[Mutexes](mutexes.md)|Describes , which grants exclusive access to a shared resource.| |[Semaphore and SemaphoreSlim](semaphore-and-semaphoreslim.md)|Describes the class, which limits number of threads that can access a shared resource or a pool of resources concurrently.| |[Barrier](barrier.md)|Describes the class that implements the barrier pattern for coordination of threads in phased operations.| diff --git a/docs/standard/threading/toc.md b/docs/standard/threading/toc.md index 6797bcf644a26..4c07b4e7def45 100644 --- a/docs/standard/threading/toc.md +++ b/docs/standard/threading/toc.md @@ -24,9 +24,8 @@ ### [The managed thread pool](the-managed-thread-pool.md) ### [Timers](timers.md) ### [Overview of synchronization primitives](overview-of-synchronization-primitives.md) -### [EventWaitHandle, AutoResetEvent, CountdownEvent, ManualResetEvent](eventwaithandle-autoresetevent-countdownevent-manualresetevent.md) +### [EventWaitHandle, CountdownEvent, ManualResetEvent](eventwaithandle-autoresetevent-countdownevent-manualresetevent.md) #### [EventWaitHandle](eventwaithandle.md) -#### [AutoResetEvent](autoresetevent.md) #### [CountdownEvent](countdownevent.md) #### [ManualResetEvent and ManualResetEventSlim](manualresetevent-and-manualreseteventslim.md) ### [Mutexes](mutexes.md)