tags:

views:

81

answers:

1

Since there are no C# source codes for "Wait", "Pulse", "PulseAll" methods. Does anyone have their IL codes? if you know the internal data structrure that would be good.

+3  A: 

Since they don't have source, they don't have IL either.

These methods are written in native C++ inside the runtime; that's what [MethodImplAttribute(MethodImplOptions.InternalCall)] means.

To see the sources for such methods, look in Rotor or Mono.

EDIT: To find the C++ code that corresponds to an extern declaration in Rotor, look in clr\src\ecall.cpp.

SLaks