Example #1
0
VOID CloseThreadpoolCleanupGroup(PTP_CLEANUP_GROUP ptpcg)
{
#ifdef _WIN32
	module_init();

	if (pCloseThreadpoolCleanupGroup)
		pCloseThreadpoolCleanupGroup(ptpcg);
#else
	free(ptpcg);
#endif
}
Example #2
0
VOID CloseThreadpoolCleanupGroup(PTP_CLEANUP_GROUP ptpcg)
{
#ifdef _WIN32
	InitOnceExecuteOnce(&init_once_module, init_module, NULL, NULL);
	if (pCloseThreadpoolCleanupGroup)
	{
		pCloseThreadpoolCleanupGroup(ptpcg);
		return;
	}
#endif
	free(ptpcg);
}