<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hanaaaaaachiru</author_name>
  <author_url>https://blog.hatena.ne.jp/hanaaaaaachiru/</author_url>
  <blog_title>はなちるのマイノート</blog_title>
  <blog_url>https://www.hanachiru-blog.com/</blog_url>
  <categories>
  </categories>
  <description>はじめに 今回はSemaphoreSlimというリソースに同時にアクセスできるスレッドの数を制限できるクラスについて紹介したいと思います。learn.microsoft.com はじめに 概要 使い方 タイムアウトやCancellationToken 概要 SemaphoreSlimはリソースに同時にアクセスできるスレッド数を制限することができます。例えばテストコードで、同時アクセスした場合にのみ不具合が起きることの確認に使えたりできます。 リソースまたはリソースのプールに同時にアクセスできるスレッドの数を制限する Semaphore の軽量版を表します。 SemaphoreSlim クラス …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.hanachiru-blog.com%2Fentry%2F2023%2F12%2F25%2F120000&quot; title=&quot;【C#】SemaphoreSlimを用いて複数のスレッドでの処理を同時に開始させる方法(テストにも便利) - はなちるのマイノート&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-12-25 12:00:00</published>
  <title>【C#】SemaphoreSlimを用いて複数のスレッドでの処理を同時に開始させる方法(テストにも便利)</title>
  <type>rich</type>
  <url>https://www.hanachiru-blog.com/entry/2023/12/25/120000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
