spacejam/sled

implement actual parallel IO trait for windows

Offen

#243 geöffnet am 11.02.2018

 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Rust (315 Forks)batch import
help wantednewbie

Repository-Metriken

Stars
 (6.419 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

We need to support parallel writes for building on windows.

I believe the way to go about this is through https://retep998.github.io/doc/kernel32/fn.WriteFile.html and passing in an OVERLAPPED struct, as per SO.

Here's the current, global-lock driven approach on windows, which may not even compile: https://github.com/spacejam/sled/pull/242/commits/2906673fe6755f18bebf5d90a63eca6ff75a2036#diff-f23996d5649981fd238dd760793391c1R78

Contributor Guide