[BangPypers] problem in implementing multiprocessing
Sibtey Mehdi
sibteym at infotechsw.com
Thu Jan 15 06:41:57 CET 2009
I am trying to implement the multiprocessing in my application to take
advantage of multiple cores. I have created two
Separate process something like this.
que = Queue
Process(target = geDataFromMdbFile, args=(que , section, MdbFile,)).start()
#2 times
In geDataFromMdbFile function I create the object and add in to queue
(que.put (object)).
After that I fetch the object using que.get () and use in my application.
but it takes more time
To get the data.
Any one can help me out this problem.
Thanks,
Sibtey Mehdi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/bangpypers/attachments/20090115/80b11575/attachment.htm>
More information about the BangPypers
mailing list