diff options
| author | Jarrod Meyer <meyerja.2013@gmail.com> | 2024-08-01 22:28:06 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-08-14 13:21:01 -0700 |
| commit | 9be10ea964f010099124f7aed8e71b0eb1c5d983 (patch) | |
| tree | b54e0925201b37895f9779ab8471f352d8da224f /lib/std/array_list.zig | |
| parent | 78fb9c0a177eeb8f5a103eb54c46b367082cfc75 (diff) | |
| download | zig-9be10ea964f010099124f7aed8e71b0eb1c5d983.tar.gz zig-9be10ea964f010099124f7aed8e71b0eb1c5d983.zip | |
Watch.zig: fixes for windows implementation
Using --watch I noticed a couple of issues with my initial attempt. 1) The index I used as 'completion key' was not stable over time, when directories are being added/removed the key no longer corresponds with the intended dir. 2) There exists a race condition in which we receive a completion notification for a directory that was removed. My solution is to generate a key value and associate it with each Directory.
Diffstat (limited to 'lib/std/array_list.zig')
0 files changed, 0 insertions, 0 deletions
