Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:31:51

0001 #include "FWCore/Utilities/interface/thread_safety_macros.h"
0002 #include "func_checker.h"
0003 
0004 CMS_THREAD_GUARD(dummy) static int global_static = 23;
0005 class Bar {
0006 public:
0007 Bar() {}
0008 CMS_THREAD_GUARD(dummy2) static int member_static;
0009 void  bar()  {
0010     /*CMS_THREAD_SAFE*/ static int local_static;
0011     member_static = global_static;
0012     local_static = global_static; 
0013     member_static = external_int;
0014     local_static = external_int;
0015 }
0016 
0017 };
0018 
0019 int main()
0020 {
0021 return 0;
0022 }
0023