Mathematica 9 is now available
Previous section-----Next section

SharedMemory

OptionValues[Trace]gives the list of possible tracers
MathLinktrace MathLink events
SendReceivetrace Send/Receive operations
Queueingtrace process scheduling (Queue/Wait)
SharedMemorytrace shared variable access (available only if the VirtualShared package has been loaded)

Tracers.

SharedMemory

A SharedMemory trace message has the format
where slave is the kernel that accessed the shared variable, and access describes how the variable was accessed:
  • The value of the variable var was requested and val was returned.
  • The remote kernel asked to change the variable var to val. The new value val was returned.
  • The value of a part of the variable var was requested and val was returned.
  • The remote kernel asked to change a part of the variable var to val.
  • The remote kernel asked for exclusive access to the variable var, setting it to val. The request was granted because var was currently unused.
  • The remote kernel asked for exclusive access to the variable var, setting it to val. The request was denied because var already had the different value old set by another process.
  • The remote kernel released exclusive access to the variable var.
For shared downvalues, the expression var in the preceding examples will be a normal expression whose head is the shared downvalue, such as f[...].


Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.