Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #69791 > unrolled thread
| Started by | Onder Hazaroglu <oxhazaroglu@ualr.edu> |
|---|---|
| First post | 2014-04-06 21:54 -0500 |
| Last post | 2014-04-06 20:22 -0700 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.python
threading Onder Hazaroglu <oxhazaroglu@ualr.edu> - 2014-04-06 21:54 -0500
Re: threading Rustom Mody <rustompmody@gmail.com> - 2014-04-06 20:22 -0700
| From | Onder Hazaroglu <oxhazaroglu@ualr.edu> |
|---|---|
| Date | 2014-04-06 21:54 -0500 |
| Subject | threading |
| Message-ID | <mailman.8968.1396839306.18130.python-list@python.org> |
[Multipart message — attachments visible in raw view] — view raw
Hello, I've been using threading library to run some experiments parallel. There is no message passing between my threads but still it messes up somehow. The results are different than running it separated. Basically I experiment with three threads working on three different files but the results are different than running three of them sequentially. Is there a way to make sure that there is no memory sharing between threads? -- Best Regards, Onder HAZAROGLU | Graduate Student | Ph.D. Candidate University of Arkansas at Little Rock | Computer Science Department EIT Bldg. | (501) 615-3851 | oxhazaroglu@ualr.edu, onderhazaroglu@gmail.com
[toc] | [next] | [standalone]
| From | Rustom Mody <rustompmody@gmail.com> |
|---|---|
| Date | 2014-04-06 20:22 -0700 |
| Message-ID | <6a7cd37d-91e5-4e72-86c2-247b713e006c@googlegroups.com> |
| In reply to | #69791 |
On Monday, April 7, 2014 8:24:37 AM UTC+5:30, Onder Hazaroglu wrote: > Hello, > I've been using threading library to run some experiments parallel. There is > no message passing between my threads but still it messes up somehow. The > results are different than running it separated. Basically I experiment with > three threads working on three different files but the results are different > than running three of them sequentially. Is there a way to make sure that > there is no memory sharing between threads? Python -- like most languages -- does not provide the option: thread-efficiency plus process-isolation. Erlang makes this its centerpiece. So look at it if thats what you are after.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web