vedrandeko...@yahoo.com said:
> ... when I run these two threads,
> I think they don't start at the same time
In response,
Diez B. Roggisch wrote:
... Even if you managed to get two threads started simultaneously
(which the OS doesn't even offer IINM), the would soon run out of sync
And th
On 18 sij, 21:27, Stefan Behnel wrote:
> vedrandeko...@yahoo.com wrote:
> > and thanks for all previous help.I want to measure memory usage of
> > executed python script.I'am working on windows XP.
>
> Could you qualify "measure"? Do you mean:
>
> a) "debug" (permanently high accuracy, potentially
vedrandeko...@yahoo.com wrote:
> and thanks for all previous help.I want to measure memory usage of
> executed python script.I'am working on windows XP.
Could you qualify "measure"? Do you mean:
a) "debug" (permanently high accuracy, potentially high runtime overhead)
b) "monitor" (high accuracy,
On 18 sij, 17:48, "Diez B. Roggisch" wrote:
> vedrandeko...@yahoo.com schrieb:
>
>
>
> > Hello again,
>
> > Thanks for previous help on "Start two threads in same time" it was
> > useful,but when I run this
> > two threads, I think they don't start at the same time, here is my
> > code snippet:
>
vedrandeko...@yahoo.com schrieb:
Hello again,
Thanks for previous help on "Start two threads in same time" it was
useful,but when I run this
two threads, I think they don't start at the same time, here is my
code snippet:
import threading
class ThreadedClass1(threading.Thread):
def __init
vedrandeko...@yahoo.com wrote:
> Thanks for previous help on "Start two threads in same time" it was
> useful,but when I run this
> two threads, I think they don't start at the same time
That's normal. Threading is an unpredictable concurrency pattern. Things
often don't happen the way one would w
Hello again,
Thanks for previous help on "Start two threads in same time" it was
useful,but when I run this
two threads, I think they don't start at the same time, here is my
code snippet:
import threading
class ThreadedClass1(threading.Thread):
def __init__(self):
threading.Thread.
snacktime wrote:
After debugging this some more I narrowed it down to an encryption
function in pycrypto that is triggering the segfault. I posted a bug
report. Don't really know enough about threading to know whether it's
a python bug or a pycrypto bug, but I'll let someone else sort that
out no
After debugging this some more I narrowed it down to an encryption
function in pycrypto that is triggering the segfault. I posted a bug
report. Don't really know enough about threading to know whether it's
a python bug or a pycrypto bug, but I'll let someone else sort that
out now..
Chris
--
ht
This is a followup with some more information. The program is written
in twisted and I posted this to twisted-python also. The freebsd list
wants a more detailed backtrace, which even with python compiled with
OPT -g and --with-pydebug isn't happening for some reason.
The script below calls a bl
snacktime wrote:
> I am consistantly getting seg faults and bus errors when running a
> multi threaded python application under 5.3-release-p2. Python was
> built from the port(python 2.4) with threading enabled.
I had similar problems some time ago. The solution/workaround was to remove
the thre
I posted this to freebsd-questions, but though I would put it here
also in case anyone has any ideas.
I am consistantly getting seg faults and bus errors when running a
multi threaded python application under 5.3-release-p2. Python was
built from the port(python 2.4) with threading enabled. Rebu
12 matches
Mail list logo