Run async code inline, nonblocking

Category: Python - Miscellaneous

A decorator, that makes it easy to switch between the mainthread and background threads. Date: 24 January, 2012


Asynchronous - Closure - Decorator - Generator - Threads

Homepage: http://code.activestate.com/recipes/577959-run-async-code-inline-nonblocking/?in=lang-python

Developer: PRITAM K

License: Freeware

Operating System: Windows

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0

 

Related Scripts Download

Just released, a free new javascript function which allows simple ajax implementation, Just a single line of code is all that is needed.

developer Developer: Steven Ewing
license License: Common Public License
operating systems Operating System: All


Step-by-step tutorial to understand the XMLHttpRequest object and how to use it from JavaScript.

developer Developer: Xul.fr
license License: Freeware
operating systems Operating System: linux, windows, freebsd, osx, sun


Gerstensaft is an easy to use graphical oriented frontend for SAFT.

developer Developer: infodrom.org
license License: Freeware
operating systems Operating System: All


This script forward the TCP traffic from your machine to another host, and back in the the other way.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


The aim of this library, is to provide the programmer with an easy to use class, that can be further inherited to provide a rich set of threaded functionality rarely seen in a linux environment.

developer Developer: SourceForge.net
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Linux, BSD


The thing I miss mostly in asyncore is a system for calling a function after a certain amount of time without blocking.

developer Developer: Giampaolo Rodol?
license License: Freeware
operating systems Operating System: Windows


This recipe uses the multiprocessing module to kill functions that have run longer than intended.

developer Developer: Stephen Chappell
license License: Freeware
operating systems Operating System: Windows


A python class I wrote to add or validate a GTIN check digit.

developer Developer: Richard Thieman
license License: Freeware
operating systems Operating System: Windows


This program interactively lets you encrypt and decrypt text as well as text files using a key system as well as a cipher.

developer Developer: Alexander James Wallar
license License: Freeware
operating systems Operating System: Windows