Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #74415
| From | Marko Rauhamaa <marko@pacujo.net> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Multiprocessing question |
| Date | 2014-07-14 08:07 +0300 |
| Organization | A noiseless patient Spider |
| Message-ID | <87sim45xzu.fsf@elektro.pacujo.net> (permalink) |
| References | <CA+dsdf0iwt_Z9iDoFTUu8XD6m70onQ3Gb2BoDDU_fjY9qF=gmA@mail.gmail.com> <mailman.11792.1405297006.18130.python-list@python.org> |
Gary Herron <gary.herron@islandtraining.com>: > On 07/13/2014 04:53 PM, Paul LaFollette wrote: >> I have thrown together a little C/UNIX program that forks a child >> process, then proceeds to let the child and parent alternate. Either >> can run until it pauses itself and wakes the other. >> >> [...] > > What do you gain from using Python if you eliminate all the tools > Python provides? The language core itself. Anyway, the subprocessing.Popen is perfect for process creation. For event multiplexing, Python3.4 has the asyncio module, although multiplexing pipes might be platform-dependent (works in linux at least). Marko
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: Multiprocessing question Gary Herron <gary.herron@islandtraining.com> - 2014-07-13 17:07 -0700 Re: Multiprocessing question Marko Rauhamaa <marko@pacujo.net> - 2014-07-14 08:07 +0300
csiph-web