/[dotgnu-pnet]/pnet/engine/lib_helpers.c
ViewVC logotype

Diff of /pnet/engine/lib_helpers.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9 by rweather, Thu Apr 24 06:00:43 2003 UTC revision 1.10 by ktreichel, Tue Aug 23 10:45:52 2005 UTC
# Line 262  void _IL_RuntimeHelpers_RunClassConstruc Line 262  void _IL_RuntimeHelpers_RunClassConstruc
262          if(classInfo)          if(classInfo)
263          {          {
264                  /* Locate the static constructor within the class */                  /* Locate the static constructor within the class */
265                  IL_METADATA_RDLOCK(thread);                  IL_METADATA_RDLOCK(_ILExecThreadProcess(thread));
266                  method = 0;                  method = 0;
267                  while((method = (ILMethod *)ILClassNextMemberByKind                  while((method = (ILMethod *)ILClassNextMemberByKind
268                          (classInfo, (ILMember *)method, IL_META_MEMBERKIND_METHOD)) != 0)                          (classInfo, (ILMember *)method, IL_META_MEMBERKIND_METHOD)) != 0)
# Line 272  void _IL_RuntimeHelpers_RunClassConstruc Line 272  void _IL_RuntimeHelpers_RunClassConstruc
272                                  break;                                  break;
273                          }                          }
274                  }                  }
275                  IL_METADATA_UNLOCK(thread);                  IL_METADATA_UNLOCK(_ILExecThreadProcess(thread));
276    
277                  /* Call the static constructor if we found it.  The method                  /* Call the static constructor if we found it.  The method
278                     itself contains instructions that prevent multiple calls */                     itself contains instructions that prevent multiple calls */

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26