title: .NET Core 2.1 EventWaitHandle Not Supported?
body: <p>I'm converting a C# .NET Framework project over to .NET Core. It compiles without errors or warnings and runs fine on Windows, but when I try it on CentOS 7, I get a <em>System.PlatformNotSupportedException</em> when I try to create an instance of EventWaitHandle. Here is the code:</p>
  
  <pre><code>this.eventHandle = new EventWaitHandle(initialState, resetMode, name);
  </code></pre>
  
  <p>There is clearly .NET Core 2.1 support for this class as there is MS documentation for it here:</p>
  
  <p><a href="https://docs.microsoft.com/en-us/dotnet/api/system.threading.eventwaithandle.-ctor?view=netcore-2.1" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/dotnet/api/system.threading.eventwaithandle.-ctor?view=netcore-2.1</a></p>
  
  <p>Is this as simple as the error describes and this class is not supported across multiple platforms? If so, why is it included in .NET Core? Could there be anything else at play here?</p>
  
  <p>If it is simply not supported, is there an alternative class that someone can suggest that is supported completely in .NET Core 2.1?</p>
  
  <p>Thanks.</p>