realbasic-nug
[Top] [All Lists]

Re: Semaphore

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Semaphore
From: Jaap Cammeraat <realbasic at isticky dot net>
Date: Sat, 30 Jun 2007 20:46:25 +0200
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <DC0576DE-0186-472A-8D4E-7E629B6E7A74 at isticky dot net> <80C8D466-8715-4E17-81C0-0E177C69BCAD at declareSub dot com> <28B99BF6-E443-4319-8A19-CB97D1924C0D at isticky dot net> <987E9A58-5193-4176-8FA8-3723B7FF6727 at declareSub dot com> <35AE61B0-7E68-42C4-8086-D5D22403AFF8 at isticky dot net> <9CDEB62A-C6FD-4734-8031-A664316591B8 at declareSub dot com>
ok, thx!


Op 30-jun-2007, om 20:41 heeft Charles Yeomans het volgende geschreven:

> I don't think this can be done as you would like.  When you call the
> method, it is executing in the main thread.  Until it returns, the
> event loop will not loop.  Because the timer's Action event handler
> is called from the event loop, it will not execute until the method
> returns.  I think you need to redesign your task.
>
> Charles Yeoamns

_______________________________________________
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>