Inhaltsverzeichnis

Tips und Tricks zu Threads

FIXME Text

Quelltext aufteilen

FIXME Text

Doppelte Prüfung von shared-Variablen

FIXME Text

void eineFunktion (void)
{
	acquireSyncSection(hSync);
 
	if (sharedGlobalVariable) eineAndereFunktion();
 
	releaseSyncSection(hSync);
} // eineFunktion()

FIXME Text

void eineFunktion (void)
{
	if (sharedGlobalVariable)
	{
		acquireSyncSection(hSync);
 
		if (sharedGlobalVariable) eineAndereFunktion();
 
		releaseSyncSection(hSync);
	} // if
} // eineFunktion()

Stand: 16.10.2015 - in Arbeit
: Jürgen Kreick

EOF