> join() is a method on Thread objects. So you'll need a reference to the
> Thread you create, then call join() on that.
>
> thread = cadtime()
> thread.start()
> thread.join()
>
> Ian
Thanks for all the help guys. It's working great. Just one more
question, I think. As you pro
On 2008-01-22, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>> In fact you have *two* threads: the main thread, and the one you create
>> explicitly.
>
>> After you start the clock thread, the main thread continues executing,
>> immediately entering the finally clause.
>> If you want to wait for th
> In fact you have *two* threads: the main thread, and the one you create
> explicitly.
> After you start the clock thread, the main thread continues executing,
> immediately entering the finally clause.
> If you want to wait for the other thread to finish, use the join() method.
> But I'm unsure
En Mon, 21 Jan 2008 23:06:10 -0200, <[EMAIL PROTECTED]> escribió:
> I am writing a program that uses curses and threading. I am working on
> displaying a clock in the upper right hand corner of the screen. I
> have only one thread at the moment, that gets the time and displays it
&
I am writing a program that uses curses and threading. I am working on
displaying a clock in the upper right hand corner of the screen. I
have only one thread at the moment, that gets the time and displays it
in curses. To make it easier to debug right now, the program starts
curses in a try