djstrong added the comment:
Thank you! I couldn't find information about first forking then launching
threads.
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<http://bugs.pyth
djstrong added the comment:
It is confirmed with other hardware with Python 3.5.2. Process is forked, but
method "run" is not executing.
--
versions: +Python 3.5 -Python 3.4
___
Python tracker
<http://bugs.python.o
djstrong added the comment:
Sometimes the output is:
Thread-1 RUN
Thread-1 STOP
B started True 20187
A
[INFO/B-1] child process calling self.run()
but "print" in "run" method of process is not executed.
--
___
P
Changes by djstrong :
--
title: Process hangs (sometimes) -> Combining thread and process, process hangs
(sometimes)
___
Python tracker
<http://bugs.python.org/issu
New submission from djstrong:
I have this code, which sometimes hangs (1 of 5 runs):
# -*- coding: utf-8 -*-
import sys
import threading
import multiprocessing
mpl = multiprocessing.log_to_stderr()
mpl.setLevel(1)
class A(threading.Thread):
def __init__(self):
super(A, self