]> git.sesse.net Git - nageru/blobdiff - futatabi/frame_on_disk.h
When sending original frames, do the reading in the queueing thread.
[nageru] / futatabi / frame_on_disk.h
index f74cb86f717161a9b6a9ffab8575594a5a8548b4..6d1d3977deb872ee3672f784d39d007c6c9549c9 100644 (file)
@@ -32,6 +32,8 @@ static bool inline operator==(const FrameOnDisk &a, const FrameOnDisk &b)
 // the sequential reads. (For this reason, each display has a private
 // FrameReader. Thus, we can easily keep multiple open file descriptors around
 // for a single .frames file.)
+//
+// Thread-compatible, but not thread-safe.
 class FrameReader {
 public:
        FrameReader();