| To: | REALbasic NUG <realbasic-nug@lists.realsoftware.com> |
|---|---|
| Subject: | Re: does thread.kill not kill? |
| From: | Thomas Tempelmann <tempelmann@gmail.com> |
| Date: | Thu, 23 Apr 2009 00:05:59 +0200 |
| Authentication-results: | mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com; dkim=neutral (body hash did not verify) header.i=@gmail.com |
| Delivered-to: | listarchive@realsoftware.com |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=KeGAQLNGLU6ePzB80TIKvu8Amnl1d8XuLcsLMhFgnSU=; b=qj9csYlMc/yeFtwO07rbFm3tuS1JO/1BWLB2LqdvlvGQLWalj7iskIyBrAJa1S7W+T h4S3SSeu6ZUFTzfXE8OVi+xx435WpeyC/XW7M8R98xEFlhu31ja0JZgRN5qwfIW8uB31 8TrE9wCOrH078YyRWFvz7egYymgRjrMzk+iHM= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=RHpoHDN04D4IBHpXqgcucVLCB5ttyFGcbYvgRpxTfS+MJTDFtpn/qMDU/GyC55fcIu fovcqo2bLcmh1N4eQp1la/XZWrZSpERUnQbz8V5zS5lPm0VK6NRWUFu6y/bNstxjF0Og Lq6RlxMKzXoxF3/CVnbiCITo/8BRZXKC6bd2Q= |
| In-reply-to: | <77124270904221447u124cb92bv3da7e5fb04bba5a@mail.gmail.com> |
| References: | <77124270904221229i6e092762r14a2e7547223d5fd@mail.gmail.com> <20090422194839.9EB4276D16@isis.visi.com> <77124270904221447u124cb92bv3da7e5fb04bba5a@mail.gmail.com> |
| Reply-to: | REALbasic NUG <realbasic-nug@lists.realsoftware.com> |
| Sender: | realbasic-nug-bounces@lists.realsoftware.com |
On Wed, Apr 22, 2009 at 23:47, Peter K. Stys <pkstys@gmail.com> wrote: > > if self.RBthread_autosat.State = thread.Running then > self.RBthread_autosat.kill ' then kill it > while self.RBthread_autosat.State = thread.Running > app.YieldToNextThread > wend > end if your while loop does wait for the thread not being "running", but there may be other states before it's ready to run anew again. so, you may want to wait for that state. -- Thomas Tempelmann, http://www.tempel.org/ _______________________________________________ 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> |
|---|---|---|
| ||
| Previous by Date: | Re: UDPSocket, Thomas Tempelmann |
|---|---|
| Next by Date: | Re: does thread.kill not kill?, Peter K. Stys |
| Previous by Thread: | Re: does thread.kill not kill?, Peter K. Stys |
| Next by Thread: | Re: does thread.kill not kill?, Peter K. Stys |
| Indexes: | [Date] [Thread] [Top] [All Lists] |