ian.g.kelly at gmail.com
Tue Jul 1 19:47:09 CEST 2014
On Tue, Jul 1, 2014 at 3:45 AM, Skip Montanaro <skip at pobox.com> wrote:
> On Tue, Jul 1, 2014 at 3:58 AM, Piyush Verma <114piyush at gmail.com> wrote:
>> Since two threads are running same method, I wanted to know which main thread will be interrupted in both case.
> I'm no threading expert, but a process can only have one main thread,
> the one you labeled "P". Threads T2 and Tt2 will both interrupt that
Also, the threading model has no hierarchy as suggested by the
diagram. All threads are equals (except the main thread, which is
slightly more equal than others).
More information about the Python-list