• 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
Re: How to make DO not do transformations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to make DO not do transformations


  • Subject: Re: How to make DO not do transformations
  • From: Ondra Cada <email@hidden>
  • Date: Wed, 25 Sep 2002 02:19:18 +0200

On Tuesday, September 24, 2002, at 11:00 , Mike Laster wrote:

I'm actually wanting to hand-off responsibility of the object from one thread to another. The object in this case is a network response message (not using DO for networking). There's no need to synchronize it. I'm trying to avoid unnecessary memory copies to try to make things faster. I have all networking going on in a dedicated thread, but client requests come in from another thread. I'm trying to hand off the response message that was received to the caller's thread. As soon as I do this, the network thread doesn't care about it anymore, so there's no need for synchronization.

All right, but then, why do you use DO at all?
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: How to make DO not do transformations
      • From: Mike Laster <email@hidden>
References: 
 >Re: How to make DO not do transformations (From: Mike Laster <email@hidden>)

  • Prev by Date: Setting alpha Component while drawAtPoint:myPoint withAttributes:myAttr in NSImageView
  • Next by Date: [Q] Unlocking an arbitrary file?
  • Previous by thread: Re: How to make DO not do transformations
  • Next by thread: Re: How to make DO not do transformations
  • Index(es):
    • Date
    • Thread