Thak you for the response and suggestion, will get back to you till I check
what is GIL in python. Thank you once again.
On Thu, Aug 18, 2022 at 2:36 PM Graham Dumpleton
wrote:
> Because Python uses a global interpreter lock which means in effect that
> even when multithreading is used, that
Because Python uses a global interpreter lock which means in effect that even
when multithreading is used, that only one pure Python bit of code can run at a
time.
In your case you are causing a CPU intensive task to occur in pure Python,
without any callouts to anything which would cause that
Hello my python file __init__.py contains
from flask import Flask
from waitress import serve
app = Flask(__name__)
@app.route("/")
def hello():
return "Hello, Flask!"
@app.route("/GP")
def helloGP():
return "Hello, Flask GP!"
@app.route("/test1a")
def testSalim():
minute=