1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

sync: use Event for waitgroup on windows

This commit is contained in:
joe-conigliaro
2020-06-23 03:23:42 +10:00
parent a4b159a80f
commit d19a33c420
5 changed files with 71 additions and 14 deletions

View File

@ -1,9 +1,11 @@
// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved.
// Use of this source code is governed by an MIT license
// that can be found in the LICENSE file.
module sync
// TODO: The suggestion of using CriticalSection instead of mutex
// was discussed. Needs consideration.
// Mutex HANDLE
type MHANDLE voidptr