• 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: 2 different questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2 different questions


  • Subject: Re: 2 different questions
  • From: Robert Cerny <email@hidden>
  • Date: Thu, 19 Sep 2002 09:22:06 +0200

Hi,
I believe my answer is not wrong because I don't know if my knowledge is on this level already but:
1.
There are a couple of threads in this mailing list and macosx-dev as well regarding this issue. I found that the best solution is to us NSCURLHandle because of it's proxy support. (http://curlhandle.sourceforge.net/)

2.
I would recommend using DO. Check TrivialThreads sample. I implemented something similar and it works great and quick.

HTH
Robert

On Wednesday, Sep 18, 2002, at 19:10 Europe/Prague, kubernan wrote:

Hello,

1st question :
Which cocoa mechanism should i use if i want implement a download
file function in client/server application ?

2nd question :
I have a threaded method which send some elements to the GUI
(text for user information).
I know, it's not thread safe and i use lock mechanism.
But doing that, the application becomes very slow (the thread sends
elements all the time).
My question is if there is a good coding scheme to reduce the
performance degradation when a thread updates the GUI
very often ?

Thx for your suggestions.
Regards,
Kub.
_______________________________________________
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.
_______________________________________________
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.

References: 
 >2 different questions (From: kubernan <email@hidden>)

  • Prev by Date: BDRuleEngine suggestions sought
  • Next by Date: Installing packages (.pkg) from the command-line?
  • Previous by thread: Updating interface from a thread (was Re: 2 different questions)
  • Next by thread: Converting an NSString to a series of NSImages?
  • Index(es):
    • Date
    • Thread