0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

WSL2のファイル変更監視問題とfspollを作った話

Posted at

areloではファイルの更新検知にfsnotifyを利用していますが、WSL2で利用している時にWindows側ファイルシステムのイベントが受け取れない問題がありました。この問題はWSL2の制限として知られています

そこで、このような環境でも動作するようにするために、ファイルの更新日時などを定期的にチェックして変更を検知するポーリング機能を追加することにしました。

この記事では、ポーリング機能実装時に気をつけていたgoroutineの扱い方について紹介します。

...

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?