Re: [Tutor] Starbucks does not use two-phase commit

2006-01-23 Thread Bernard Lebel
Thanks a lot Danny. Bernard On 1/23/06, Danny Yoo <[EMAIL PROTECTED]> wrote: > > > On Mon, 23 Jan 2006, Bernard Lebel wrote: > > > Yes that makes sense, but.. what is a "daemon"? Sorry if this is > > super basic question. > > According to: > > http://docs.python.org/lib/thread-objects.h

Re: [Tutor] Starbucks does not use two-phase commit

2006-01-23 Thread Danny Yoo
On Mon, 23 Jan 2006, Bernard Lebel wrote: > Yes that makes sense, but.. what is a "daemon"? Sorry if this is > super basic question. According to: http://docs.python.org/lib/thread-objects.html """A thread can be flagged as a ``daemon thread''. The significance of this flag is

Re: [Tutor] Starbucks does not use two-phase commit

2006-01-23 Thread Bernard Lebel
Hi Danny, Yes that makes sense, but.. what is a "daemon"? Sorry if this is super basic question. Thanks Bernard On 1/23/06, Danny Yoo <[EMAIL PROTECTED]> wrote: > > > > I noticed that when I do a keyboard interrupt, I get the keyboard > > interrupt exception messages, but after that it

Re: [Tutor] Starbucks does not use two-phase commit

2006-01-23 Thread Danny Yoo
> I noticed that when I do a keyboard interrupt, I get the keyboard > interrupt exception messages, but after that it keeps hangning and never > returns to the command line input mode. I have to close the shell to > really end the program afaics. Hi Bernard, When we're using the high-level 'thr

Re: [Tutor] Starbucks does not use two-phase commit

2006-01-23 Thread Bernard Lebel
Hi Danny, Just to report something regarding the code you have provided. I noticed that when I do a keyboard interrupt, I get the keyboard interrupt exception messages, but after that it keeps hangning and never returns to the command line input mode. I have to close the shell to really end the p

Re: [Tutor] Starbucks does not use two-phase commit

2006-01-22 Thread Todd Maynard
Well Danny, now I know how I am gonna spend my Sunday Thanks for the great explanation and the resources. Of course do you think I could manage to get the code to break - of course not Usually I have the opposite problem. Anyways I think that your explanation makes perfect sense. My

Re: [Tutor] Starbucks does not use two-phase commit

2006-01-22 Thread Danny Yoo
On Sat, 21 Jan 2006, Todd Maynard wrote: > I want to thank you for ruining my plans for a relaxing Saturday > morning. As a thread newbie I killed several hours playing around with > your code. Hi Todd, Sorry about that. I hope you were relaxing in a cafe while playing with the code. > One

Re: [Tutor] Starbucks does not use two-phase commit

2006-01-21 Thread Todd Maynard
Danny, I want to thank you for ruining my plans for a relaxing Saturday morning. As a thread newbie I killed several hours playing around with your code. One thing I noticed is that sometimes the program would hang, which I figured was the Queue code blocking in the Ticket claim function. I us

[Tutor] Starbucks does not use two-phase commit

2006-01-20 Thread Danny Yoo
On Fri, 20 Jan 2006, Bernard Lebel wrote: > So have written a little test script. The fact is that I want to be able > to manage the same queue from separate threads. Below is an example of > what my real program is doing: Hi Bernard, One problem is that there's a single outputQueue being pre