realbasic-nug
[Top] [All Lists]

Re: Socket Taking Over. Need a Thread?

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Socket Taking Over. Need a Thread?
From: Chris Little <cslittle at mac dot com>
Date: Sun, 30 Dec 2007 09:16:11 -0500
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Thread-index: AchK7ocjxbuY4rbhEdyRoQAX8shUyA==
Thread-topic: Socket Taking Over. Need a Thread?
on 12/30/07 8:14 AM, Theodore H. Smith at delete at elfdata dot com wrote:

> 
> Set .YieldsToThreads to true.
> 
> Or maybe it's called .YieldsToSomethingElse
> 
> Or .YieldsWhatever
> 
> I dunno what it's called. But I think it starts with .Yields :)
> 
> Anyhow, that's exactly what you are looking for. My sockets don't
> leave my apps unresponsive. I even have progress bars in the app which
> let the user know how it's going while he goes off and does other
> things in the app.

Theo is right. It is the .Yields property. Its use is detailed on the
HttpSocket page in the language reference. Beyond using this the OP should
really look at using asynchronous calls.

Chris


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>