import _thread
import time

def testThread(message,period):
  while True:
    print("Hello from thread ",message)
    time.sleep(period)

def locThread():
    b = 0
    while True:
        a = 5
        b += 1
        if(b%1000 == 0):
            print("working")
    
  

_thread.start_new_thread(locThread, ())
_thread.start_new_thread(locThread, ())
5112ccfda9b489e5bf1651dafd57a719899ff76f
<mask token>


def locThread():
    b = 0
    while True:
        a = 5
        b += 1
        if b % 1000 == 0:
            print('working')


<mask token>

<mask token>


def testThread(message, period):
    while True:
        print('Hello from thread ', message)
        time.sleep(period)


def locThread():
    b = 0
    while True:
        a = 5
        b += 1
        if b % 1000 == 0:
            print('working')


<mask token>

<mask token>


def testThread(message, period):
    while True:
        print('Hello from thread ', message)
        time.sleep(period)


def locThread():
    b = 0
    while True:
        a = 5
        b += 1
        if b % 1000 == 0:
            print('working')


_thread.start_new_thread(locThread, ())
_thread.start_new_thread(locThread, ())

import _thread
import time


def testThread(message, period):
    while True:
        print('Hello from thread ', message)
        time.sleep(period)


def locThread():
    b = 0
    while True:
        a = 5
        b += 1
        if b % 1000 == 0:
            print('working')


_thread.start_new_thread(locThread, ())
_thread.start_new_thread(locThread, ())

import _thread
import time

def testThread(message,period):
  while True:
    print("Hello from thread ",message)
    time.sleep(period)

def locThread():
    b = 0
    while True:
        a = 5
        b += 1
        if(b%1000 == 0):
            print("working")
    
  

_thread.start_new_thread(locThread, ())
_thread.start_new_thread(locThread, ())