Wednesday, March 6, 2013

PINNING


PINNING

It is possible to hand out a raw pointer to a managed object. But to do so, you effectively need to the tell the CLR the object should not be moved in memory while something(for example, a native code component used in interop) holds on to the pointer. The task of doing this is called pinning and
is a specialized concept typically used only in interop scenarios.


Few topics on Memory allocations during the constructor call.








No comments:

Post a Comment

Code Formater

Paste Here Your Source Code
Source Code Formatting Options
1) Convert Tab into Space :
2) Need Line Code Numbering :
3) Remove blank lines :
4) Embeded styles / Stylesheet :
5) Code Block Width :
6) Code Block Height :
7) Alternative Background :
Copy Formatted Source Code
 
Preview Of Formatted Code