Run a function in a separate (forked) process without blocking

Category: Python - Miscellaneous

A procedure that runs a function asynchronously in a forked process (Availability: Macintosh, Unix). The return from the specified function is written into an anonymous memory map (mmap: requires +Python 2.5). This can be useful for releasing resources used by the function such as memory, updating a gui or cli widget, or other weirdness. Date: 01 April, 2012


Fork - Mmap - Process

Homepage: http://code.activestate.com/recipes/550801-run-a-function-in-a-separate-forked-process-withou/?in=lang-python

Developer: Gary Eakins

License: Python License

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

Fork is a framework that is designed to allow web designers and programmers to work without stepping on each other.

developer Developer: forkphp.googlecode.com
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Windows, Linux, BSD, Solaris


ForkManager is a very simple Class for managing the forking of processes in a controlled manner.

developer Developer: files.rubyforge.vm.bytemark.co.uk
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Windows


This is fun, and a great way to add some style to documents you need to place on the web.

developer Developer: Intelliscript.net
license License: Freeware
operating systems Operating System: Linux, Unix, Windows


Often when executing a batch process to convert or move records of data your script execution is subject to a timeout specified in a configuration parameter on the various servers in any of the Web server, dynamic server-side scripting or database server.

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


This object can recognize user gestures that form configurable shapes.

developer Developer: Arturs Sosins
license License: BSD License
operating systems Operating System: any


JBossESB is the next generation of EAI - better and without the vendor-lockin characteristics of old.

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


EasyMail.

developer Developer: download.quiksoft.com
license License: Freeware
operating systems Operating System: All


Invoking 'runcgi.

developer Developer: Bryan Olson
license License: Python License
operating systems Operating System: Windows


Iterates through a directory, reading the EXIF data from each jpg.

developer Developer: Michal Niklas
license License: Python License
operating systems Operating System: Windows