• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Are OT calls MP safe
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Are OT calls MP safe
      • From: Quinn <email@hidden>
  • Prev by Date: Sleeping laptop, running code?
  • Next by Date: Re: Sleeping laptop, running code?
  • Previous by thread: Re: Sleeping laptop, running code?
  • Next by thread: Re: Are OT calls MP safe
  • Index(es):
    • Date
    • Thread