-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generic backend issue excessive events #88
Comments
Original comment by Martín Lucas Golini (Bitbucket: SpartanJ, GitHub: SpartanJ). I couldn't reproduce the bug, i've seen that you forked the repository and made some commits, it looks interesting, this is fixed in your fork? I'm really busy this month, but i'll keep an eye on your work. Thanks for contributing for the library, i'm really happy to see some collaboration. |
Original comment by Mihail Slobodyanuk (Bitbucket: mihail_slobodyanuk, ). I am sorry. I missed post from 2015-08-19. About fork. I wanted finish QA then made merge request but the process delayed. |
Original comment by Martín Lucas Golini (Bitbucket: SpartanJ, GitHub: SpartanJ). Hi! Welcome back :) I already have a branch with some of your changes incorporated but i used my own naming conventions, and i added made a couple of new changes. The new changes looks good, i'll add them later, except for the Thank you very much for your collaboration. Regards |
Original comment by Mihail Slobodyanuk (Bitbucket: mihail_slobodyanuk, ). Hello, Martin!
Are you meant https://bitbucket.org/mihail_slobodyanuk/efsw/commits/782d3f7f4a08c7015acd3f9f0b21e0145e1ec479 ? My app create FileWatcher instance in one thread and destroys it in another thread. CancelIo() WinAPI require to be called in same thread as ReadDirectoryChangesW(). CancelIoEx() may help us but that one offered only since Windows Vista/Windows Server 2008 API. So i moved CancelIo() to same with ReadDirectoryChangesW() thread. All another changes in that commit are needed to proper thread synchronization.
I moved inotify.h to another folder and include it via CFLAGS in outer make script. Yes i don't using premake every assembly. The main reason why i need own inotify.h is very outdated toolchains for some NAS. The linux kernel on that devices has inotify support, but GLIBC are not offer wrappers. I similar way the problem resolved in inotify-tools project (see inotify-nosys.h and system header detection in configure.ac ) Thanks. Mihail |
Original comment by Martín Lucas Golini (Bitbucket: SpartanJ, GitHub: SpartanJ).
Oh, now i get what you're saying. The problem is that there's already a patch for that problem, it was introduced later than your branch, i decided to basically drop Windows XP / 2000 support and just used
Ok, Thanks! |
Original comment by Mihail Slobodyanuk (Bitbucket: mihail_slobodyanuk, ). Hi!
It seems the bug still there. Here is my output:
|
Original comment by Mihail Slobodyanuk (Bitbucket: mihail_slobodyanuk, ). Reproduced |
Original comment by Martín Lucas Golini (Bitbucket: SpartanJ, GitHub: SpartanJ). I ran your test in default and develop branches and in both is working fine. Are you sure you have the repo updated? Here's my complete output for both cases:
|
Original comment by Mihail Slobodyanuk (Bitbucket: mihail_slobodyanuk, ). Sorry. My bad somewhere. I re-updated repo and bug was gone. |
Original report by Mihail Slobodyanuk (Bitbucket: mihail_slobodyanuk, ).
Hi, Martin!
I run into issue on Windows with generic backend.
Steps to reproduce:
Expected result: one delete for c:\efsw\1\file
Actual result: infinity events loop about delete c:\efsw\1\file
Thanks!
The text was updated successfully, but these errors were encountered: