Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Singularity Revisited
Dec 09, 2005 at 2:37 PMSince data in the exchange heap is completely separate from GC data and has different types, it is also allocated with a variation:
byte[] in ExHeap buf = new[ExHeap] byte[512];
would allocate a 512 byte buffer in the ExHeap. Given a message
message Data(byte[] in ExHeap buf);
and a channel endpoint e supporting this message, you would use
e.SendData(buf);
to transfer the buffer. Note that buffers are not associated with a particular channel. e.g., the receiver of the Data message above can turn around and send the buffer to whoever it wants to; or alternatively, it could free the buffer explicitly via:
delete buf;
The type system/static analysis makes sure that programs don't touch data in the ExHeap they don't own (e.g., after send or delete).