Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在我的软件中实现文件夹路径监控。由于递归监控的需求,我决定使用 FSEvents 框架而不是 Mac OS 版本的 k_queue。
我已经阅读了文件系统事件 API ,所以我像这个例子一样实现了我的包装类。
问题是永远不会调用回调函数。