Calling a thread asynchronously with a callback

2006-11-27 Thread Edwin Gomez
I'm a C# developer and I'm new to Python.  I would like to know if the concept 
of Asynchronous call-backs exists in Python.  Basically what I mean is that I 
dispatch a thread and when the thread completes it invokes a method from the 
calling thread.  Sort event driven concept with threads.


Thanks. 

Ed Gomez
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python-list Digest, Vol 38, Issue 390

2006-11-27 Thread Edwin Gomez
Regarding Topic number 3: 3. Calling a thread asynchronously with a callback 
(Edwin Gomez):
Thanks Bjorn for you quick answer and by the way, that works.  Diez, in answer 
to your question regarding async callbacks in C#; C# runs in a multi threaded 
apartments.  Many times we'll setup listener objects in a dictionary and each 
member is responsible for monitoring and manipulating it's own data.  In the 
case where data is shared, then of course, we use a locking machanism.
> - Original Message -
> From: [EMAIL PROTECTED]
> To: python-list@python.org
> Subject: Python-list Digest, Vol 38, Issue 390
> Date: Mon, 27 Nov 2006 19:45:03 +0100
> 
> 
> Send Python-list mailing list submissions to
>   python-list@python.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>   http://mail.python.org/mailman/listinfo/python-list
> or, via email, send a message with subject or body 'help' to
>   [EMAIL PROTECTED]
> 
> You can reach the person managing the list at
>   [EMAIL PROTECTED]
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Python-list digest..."
> 
> Today's Topics:
> 
> 1. Re: Several entries on Tile and TableList at the Tkinter wiki
>(jim-on-linux)
> 2. shtoom complicated install (Croteam)
> 3. Calling a thread asynchronously with a callback (Edwin Gomez)
> 4. Re: Active State and Komodo... (Trent Mick)
> 5. Re: working with files and directories (halex2000)
> 6. Re: Calling a thread asynchronously with a callback
>(Diez B. Roggisch)
> 7. Re: Calling a thread asynchronously with a callback
>(Bjoern Schliessmann)
> 8. python skipping lines? ([EMAIL PROTECTED])
> 9. can't get cgi values (ronrsr)
>10. Re: can't get cgi values (Fredrik Lundh)
>11. Re: can't get cgi values (Paul McGuire)
> 
> From: jim-on-linux <[EMAIL PROTECTED]>
> To: python-list@python.org
> Cc: Kevin Walzer <[EMAIL PROTECTED]>
> Subject: Re: Several entries on Tile and TableList at the Tkinter wiki
> Date: Mon, 27 Nov 2006 12:29:58 -0500
> 
> 
> Thanks for posting this entry,
> 
> The fact that a wiki or help site doesn't get a
> lot of traffic is not an necessarily an indicator
> of it's usfulness.  It indicates to me that the
> product, in this case Tkinter, may be easy to use
> and understand, after working with it a little, A
> lot of help may not be necessary.
> 
> A good example is the py2exe help site.
> At one time not to long ago there might be 8 to 12
> post per day, or more. Today by my unscientific
> count method, I don't think there are more than 3
> to 4 post per week.  Yet, py2exe and Tkinter is
> almost as valuable as Python. If we couldn't
> build programs for Windows, where would a python
> programmes's money come from?
> 
> Thanks again,
> 
> jim-on-linux
> http://www.inqvista.com
> 
> 
> 
> On Sunday 26 November 2006 15:50, Kevin Walzer
> wrote:
> > I'm not sure how often members of this list
> > visit the Tkinter wiki at
> > http://tkinter.unpythonic.net/wiki/FrontPage; this wiki seems to 
> > have less traffic in general
> > than the Tcl/Tk wiki at http://wiki.tcl.tk.
> > Given that, I hope it's not out of line for me
> > to call attention to several pages that I've
> > posted about integrating Tile
> > (http://tktable.sourceforge.net/tile) and
> > TableList (http://www.nemethi.de,
> > http://wiki.tcl.tk/5527) into Tkinter
> > applications. I've noted a serious lack of
> > resources/documentation about these two
> > powerful Tk components. In addition to some
> > documentation, screenshots, and sample
> > applications, I've posted updated versions of
> > the original TableList and Tile wrappers by
> > Martin Franklin.
> >
> > I should take this moment to thank Mr. Franklin
> > for his work on these wrappers; whatever I
> > added to them was pretty minimal compared to
> > the heavy lifting he did. He originally posted
> > them on the Internet last year, but the site
> > that hosted them has gone dark. Anyway, Mr.
> > Franklin, if you are reading this, thank you
> > for your hard work; it has been enormously
> > helpful. I hope my own efforts extend your work
> > and make it even more useful for other Tkinter
> > developers.
> >
> > Here are the links:
> >
> > http://tkinter.unpythonic.net/wiki/UsingTile
> > http://tkinter.unpythonic.net/wiki/TileWrapper
> > http://tkinter.unpythonic.net/wiki/TableListWra
> > pper
> >