- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testHandleLeaksCallback (0.14 sec)
-
src/cmd/cgo/internal/test/issue8517_windows.c
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "windows.h" extern void testHandleLeaksCallback(); DWORD WINAPI testHandleLeaksFunc(LPVOID lpThreadParameter) { int i; for(i = 0; i < 100; i++) { testHandleLeaksCallback(); } return 0; } void testHandleLeaks() { HANDLE h; h = CreateThread(NULL, 0, &testHandleLeaksFunc, 0, 0, NULL);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 517 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue8517_windows.go
C.testHandleLeaks() c2 := processHandleCount(t) if c1+issue8517counter <= c2 { t.Fatalf("too many handles leaked: issue8517counter=%v c1=%v c2=%v", issue8517counter, c1, c2) } } //export testHandleLeaksCallback func testHandleLeaksCallback() { issue8517counter++
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 990 bytes - Viewed (0)