Are OT calls MP safe
Are OT calls MP safe
- Subject: Are OT calls MP safe
- From: Mark Thomas <email@hidden>
- Date: Wed, 12 Feb 2003 17:52:35 +0000
- Organization: Coderus Ltd
Hi,
Does any know if the OT calls are MP Task safe (i.e. To call within a MP
task), taking into consideration that each MP Task, will just operate on a
single EndpointRef, using OTSndUData.
I have found these OTMP code, which seem to give the impression if this
will work for for me so I can use them in MP Tasks, but confused a little.
1) Do I need to convert my InitOpenTransportInContext to
InitOpenTransportMPXInContext in the main application code (i.e. The code
which works within the blue process), or do I need to calls this per MP Task
2) Code which works within the blue process of the application can remain as
it is, using OTxxxxxxx calls
2) In All my MP tasks, I just use the OTMPXxxxxx calls although it looks
like some calls need to change e.g.
endPoint = OTOpenEndpointInContext( OTCreateConfiguration(kUDPName), 0, nil,
&err, NULL);
To
endPoint = OTMPXOpenEndpointQInContext( kUDPName, 0, nil, &err, NULL);
Any ideas ???
Thanks
Mark.
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.