<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>debian36</author_name>
  <author_url>https://blog.hatena.ne.jp/debian36/</author_url>
  <blog_title>debian36の日記</blog_title>
  <blog_url>https://debian36.hatenadiary.org/</blog_url>
  <categories>
    <anon>programming</anon>
    <anon>ipc</anon>
  </categories>
  <description>今度は、POSIX仕様のセマフォ。これも、Cygwinでやろうとしたんだけれど、POSIXリアルタイムライブラリが見つからなかったため、断念。で、でびあん♪ defs.h セマフォ名（openするときの素（もと）となるもの）の定義のみ。 はじめ、これを/tmp/sem123 としてしまって、sem_openで、0が返ってきてしまっていた。 openに指定するnameは、 ・スラッシュではじまり ・スラッシュはひとつのみ ・そのファイルは実存しなくてよい #define SEMPATH &quot;/sem123&quot; wait.c セマフォの作成とセマフォ待ち（P操作）を行う 既に同じセマフォがあると気持ち…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdebian36.hatenadiary.org%2Fentry%2F20080223%2F1203798260&quot; title=&quot;POSIX Semaphore - debian36の日記&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>2008-02-23 05:24:20</published>
  <title>POSIX Semaphore</title>
  <type>rich</type>
  <url>https://debian36.hatenadiary.org/entry/20080223/1203798260</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
