Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #92013
| X-Received | by 10.236.31.100 with SMTP id l64mr48547803yha.55.1433375143191; Wed, 03 Jun 2015 16:45:43 -0700 (PDT) |
|---|---|
| X-Received | by 10.182.232.165 with SMTP id tp5mr87256obc.4.1433375143128; Wed, 03 Jun 2015 16:45:43 -0700 (PDT) |
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!z60no165087qgd.1!news-out.google.com!n7ni81igk.0!nntp.google.com!h15no21760igd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.lang.python |
| Date | Wed, 3 Jun 2015 16:45:42 -0700 (PDT) |
| In-Reply-To | <mailman.136.1433370828.13271.python-list@python.org> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=173.172.156.195; posting-account=AJ6qCwoAAAAFAR3dsT266HYVRFT97GVt |
| NNTP-Posting-Host | 173.172.156.195 |
| References | <5eba09c9-aadb-46d9-b644-8ba775d8b97a@googlegroups.com> <bd3b582f-20b5-477d-b7e3-32c4e73600d0@googlegroups.com> <7a358948-5929-46b5-a847-13e8b9bcf46e@googlegroups.com> <mailman.136.1433370828.13271.python-list@python.org> |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <a51fd0dc-2aaf-491e-bfbf-e13d2a4df01f@googlegroups.com> (permalink) |
| Subject | Re: Multiple thread program problem |
| From | Mohan Mohta <mohan.mohta@gmail.com> |
| Injection-Date | Wed, 03 Jun 2015 23:45:43 +0000 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-Received-Bytes | 1880 |
| X-Received-Body-CRC | 4009684404 |
| Xref | csiph.com comp.lang.python:92013 |
Show key headers only | View raw
On Wednesday, June 3, 2015 at 5:34:31 PM UTC-5, Waffle wrote: > You think "(f)" makes a tuple, but it does not. > the parentesis is not the tuple constructor, the comma is > try: > t=thread.start_new_thread(proc,(f,)) Thanks for the pointer waffle. The program executes now but still not the way I want it. I think I will need to tweak it a bit as the code is executing with the same argument from the file /tmp/python/1 multiple times whereas it needs to be executed only ones but in parallel. Let me figure that out. Once again thanks for all the help provided on this thread.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Multiple thread program problem Mohan Mohta <mohan.mohta@gmail.com> - 2015-06-03 13:41 -0700
Multiple thread program problem Sam Raker <sam.raker@gmail.com> - 2015-06-03 14:01 -0700
Re: Multiple thread program problem Mohan Mohta <mohan.mohta@gmail.com> - 2015-06-03 15:23 -0700
Re: Multiple thread program problem Mohan Mohta <mohan.mohta@gmail.com> - 2015-06-03 16:45 -0700
Re: Multiple thread program problem sohcahtoa82@gmail.com - 2015-06-03 16:56 -0700
Re: Multiple thread program problem M2 <mohan.mohta@gmail.com> - 2015-06-03 17:04 -0700
Re: Multiple thread program problem Cameron Simpson <cs@zip.com.au> - 2015-06-04 10:37 +1000
Re: Multiple thread program problem M2 <mohan.mohta@gmail.com> - 2015-06-03 19:59 -0700
Re: Multiple thread program problem Cameron Simpson <cs@zip.com.au> - 2015-06-04 14:42 +1000
Re: Multiple thread program problem MRAB <python@mrabarnett.plus.com> - 2015-06-03 21:59 +0100
Re: Multiple thread program problem Gary Herron <gherron@digipen.edu> - 2015-06-03 15:02 -0700
Re: Multiple thread program problem M2 <mohan.mohta@gmail.com> - 2015-06-04 10:20 -0700
Re: Multiple thread program problem Cameron Simpson <cs@zip.com.au> - 2015-06-05 08:58 +1000
csiph-web