並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 2 件 / 2件

新着順 人気順

DeadLockの検索結果1 - 2 件 / 2件

タグ検索の該当結果が少ないため、タイトル検索結果を表示しています。

DeadLockに関するエントリは2件あります。 TLSDNS などが関連タグです。 人気エントリには 『Encrypted DNS + NTP = Deadlock』などがあります。
  • Encrypted DNS + NTP = Deadlock

    Photo by Uzoma Ozurumba, CC BY-SA 4.0, no changesI’m generally a big fan of encrypted DNS for the security it provides with negligible performance impact. But I recently found out the hard way that DNS over TLS/HTTPS can deadlock with Network Time Protocol (NTP) on embedded devices without a battery-backed real-time clock. Many low-cost routers lack a battery for keeping time during power loss. Af

      Encrypted DNS + NTP = Deadlock
    • io.Pipe関数の2つのdeadlockポイント - Qiita

      概要 io.Pipe関数を使う際には、並行化(別goroutineでの実行)とio.PipeWriterのCloseを意識する必要がある。 そうでなければdeadlockが起こる。 並行化が必要な理由は、io.PipeWriterとio.PipeReaderが内部でバッファなしのチャネルを共有しているため。 io.PipeWriterのCloseが必要な理由は、安全にio.PipeReaderのReadメソッドを呼び出すための補助関数を使用するため。 io.Pipe関数の使い方 公式ドキュメントのExampleでは、新たにgoroutineを生成し、その中で、io.PipeWriterへの書き込み操作とCloseを行なっている。 func main() { r, w := io.Pipe() go func() { fmt.Fprint(w, "some text to be read\n

        io.Pipe関数の2つのdeadlockポイント - Qiita
      1

      新着記事