Package Index  Table of Contents

CodeCheck ECS C/C++ to Test Suite - 64.cpp

/*
64.    Design for reentrancy.
*/
typedef int FOO;   
FOO	FOO_GLO;
// multi-thread code cannot use global's each method must have unique instance



Function Name: Thread()

int Thread() { 		
 int locfoo;
  FOO_GLO ++;		// 64. Design for reentrancy.
}

Package Index  Table of Contents

CodeCheck Copyright (c) 1988-2005 by Abraxas Software Inc. (R). All rights reserved.