--
You received this message because you are subscribed to the Google Groups "pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discus...@googlegroups.com.
To post to this group, send email to pylons-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/a98dff6f-a3bb-48e3-a19f-7723ce729fb7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/CAKdhhwF%2BBpgTcJeUEAqsv4S1txuocys%3DL%2Bj8qarWXNg9VXXrmw%40mail.gmail.com.
processes != threads, it looks like you're thinking that waitress is using processes based on your suggestion that you think os.getpid() should return something different, or that you can't see them being started.- Michael
On Thu, Jul 18, 2019 at 2:54 PM Philip May <enia...@gmail.com> wrote:
--In the waitress documentation it is said that waitress starts 4 threads to handle the requests. When I start a waitress server to serve a flask rest API I can not see 4 threads being started (MacOS). Also when I output the ID of the threads (os.getpid()) I always get the same ID. What can be the reason here?ThanksPhilip
You received this message because you are subscribed to the Google Groups "pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pylons-...@googlegroups.com.
To post to this group, send email to pylons-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/a98dff6f-a3bb-48e3-a19f-7723ce729fb7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
- Michael
processes != threads
On Jul 19, 2019, at 02:18, Philip May <eniak...@gmail.com> wrote:Yes. I did confuse processes and threads...Sorry for that.Do you know why they use threads instead of tasks (processes)?
To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/527e7878-a32c-40a2-8f92-34706de9e541%40googlegroups.com.