multiprocess Questions

3

We have an application that parts of it are in .net, c++ usermode and C++ drivers. The application is divided into several executables that run on demand and communication with each other using LPC...
Eckmann asked 26/2, 2010 at 12:26

4

Solved

After spending a lot of time trying to wrap my head around multiprocessing I came up with this code which is a benchmark test: Example 1: from multiprocessing import Process class Alter(Process)...
Gans asked 8/1, 2012 at 4:53

1

Solved

I am trying to read a list that contains N number of .csv files stored in a list synchronously. Right now I do the following: import multiprocess Empty list Append list with listdir of .csv's ...
Pea asked 21/5, 2014 at 21:33

2

Please consider a class as follow: class Foo: def __init__(self, data): self.data = data def do_task(self): #do something with data In my application I've a list containing several i...
Conlan asked 8/5, 2014 at 8:51

2

Solved

The code below doesn't seem to run concurrently, and I'm not sure exactly why: def run_normalizers(config, debug, num_threads, name=None): def _run(): print('Started process for normalizer') s...
Carvey asked 19/7, 2013 at 4:32

2

Solved

I am currently trying to log to a single file from multiple processes but I am having a lot of trouble with it. I have spend countless hours looking online -- stackoverflow and Google, but have com...
Jive asked 10/7, 2013 at 22:38

3

I need an on-disk key-value store, not too big or distributed. The use case is as follows: The full DB will be few Gbs in size Both key and value are of constant size Its a constant data base. O...
Venable asked 22/6, 2012 at 2:52

5

I have a dictionary D of {string:list} entries, and I compute a function f( D[s1],D[s2] ) --> float for a pair of strings (s1,s2) in D. Additionally, I have created a custom matrix class Labeled...
Papp asked 20/2, 2012 at 10:0

3

Solved

C++: Is there a way to check if a file has been opened for writing by another process/ class/ device ? I am trying to read files from a folder that may be accessed by other processes for writing. ...
Porcupine asked 17/2, 2012 at 21:34

3

Solved

A few years ago, in the Windows environment, I did some testing, by letting multiple instances of CPU computation intensive + memory access intensive + I/O access intensive application run. I devel...
Lakeesha asked 31/7, 2010 at 2:48

1

Solved

I'm a multiprocessing newbie, I know something about threading but I need to increase the speed of this calculation, hopefully with multiprocessing: Example Description: sends string to a threa...
Molybdenite asked 8/1, 2012 at 2:44

1

Solved

I am trying to figure out explicitly which of the functions in SciPy/NumPy run on multiple processors. I can e.g. read in the SciPy reference manual that SciPy uses this, but I am more interested i...
Bramlett asked 4/8, 2011 at 12:33

1

Solved

I've seen a couple of questions on the topic but I didn't get a full answer... My code is basically: from multiprocessing import Process p = Process(target=f).start() p.join() def f(): print '...
Pumice asked 17/7, 2011 at 13:34

5

The simple study is: Ant life simulation I'm creating an OO structure that see a Class for the Anthill, a Class for the Ant and a Class for the whole simulator. Now I'm brainstorming on "how to" ...
Dominant asked 31/5, 2011 at 14:49

2

Solved

I'm looking for a definitive answer (if indeed one exists) on how much memory should be allocated when creating a static chunks of shared memory via boost::interprocess's managed_shared_memory. Eve...
Dorsoventral asked 12/11, 2010 at 16:14

2

Solved

I am looking for the best way to effectively share chunks of data between two (or more) processes in a writer-biased reader/writer model. My current tests are with boost::interprocess. I have crea...
Thornberry asked 11/11, 2010 at 17:45

1

Solved

I set up a process that read a queue for incoming urls to download but when urllib2 open a connection the system hangs. import urllib2, multiprocessing from threading import Thread from Queue impo...
Wondawonder asked 26/1, 2010 at 2:31

8

I have a python application that grabs a collection of data and for each piece of data in that collection it performs a task. The task takes some time to complete as there is a delay involved. Beca...
Angloindian asked 4/8, 2009 at 9:47

© 2022 - 2024 — McMap. All rights reserved.