]> go.fuhry.dev Git - fsnotify.git/commit
kqueue: fix race condition in Close
authorPawel Knap <pawelknap88@gmail.com>
Wed, 25 Nov 2015 23:22:45 +0000 (00:22 +0100)
committerNathan Youngman <git@nathany.com>
Thu, 17 Dec 2015 18:49:36 +0000 (11:49 -0700)
commita005bab8d417b7225068819cddfa9e8c0629f283
tree76682962fbffe211c5ed6ebc4542cd0c6e1a4c5f
parentb0cd95be6096bb4ae1c38f2e0909c773599f6143
kqueue: fix race condition in Close

fixes #99
closes #105

thanks to @djui for reporting the issue and @ppknap for writing a test.

Add test for concurrent file removes and watcher.Close calls
integration_test.go
kqueue.go