<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kameid</author_name>
  <author_url>https://blog.hatena.ne.jp/kameid/</author_url>
  <blog_title>kameidの備忘録 - Sharpen the Saw!</blog_title>
  <blog_url>https://kameid.hatenadiary.org/</blog_url>
  <categories>
    <anon>Linux</anon>
    <anon>非同期キュー</anon>
  </categories>
  <description>キューにデータを挿入する際には特に不思議な動作は無いし、普通の insert 文を使うだけなので、割愛。問題は取得時。これも直感にそぐう動作をしていると思う。 queue_wait() にて、owner モードに入ると同時にキューのデータを一件取得する。 取得した時点で、他のコネクションにて queue_wait() を発行しても、同じデータは取得されなくなる。 queue_end() にて、取得したデータをキューから削除する。 queue_wait() を連続して発行すると、2回目からは暗黙的に queue_end() + queue_wait() の動きをする。 queue_abort()…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkameid.hatenadiary.org%2Fentry%2F20090126%2F1232954229&quot; title=&quot;q4m の動きをまとめてみた。 - kameidの備忘録 - Sharpen the Saw!&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>2009-01-26 16:17:09</published>
  <title>q4m の動きをまとめてみた。</title>
  <type>rich</type>
  <url>https://kameid.hatenadiary.org/entry/20090126/1232954229</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
