Q: In "Multiprocessing.h" there are two constants
for the context parameter of MPRemoteCall that
aren't covered in the documentation. What do
kMPInterruptRemoteContext and
kMPAsyncInterruptRemoteContext do and when were
they introduced?
A: kMPInterruptRemoteContext was
introduced in Mac OS 9.1 and is documented in DTS Technote
2010 Mac
OS 9.1.
kMPAsyncInterruptRemoteContext was
introduced in Mac OS 9.2.1 and works much like
kMPInterruptRemoteContext except that the MP
task does not block waiting for the interrupt to execute.
Thus the result from your MPRemoteProcedure is
not returned as the result of MPRemoteCall . You
might find this option useful for posting completion
callbacks from an MP task.
Neither options are supported on Mac OS X.
[Feb 18 2002]
|