walkap / web-server

Internet and Web project
0 stars 0 forks source link

The server creates a thread for each request instead one for each client #19

Open robertocapannelli opened 6 years ago

robertocapannelli commented 6 years ago

Try to use this function to test it pthread_self()

robertocapannelli commented 6 years ago

@Bateman0101 When I use more then one picture inside it crash the app with semaphore error due to the magickwand ha been used from two thread at the same time And in other occasions got the error Error in strtol width: Success

robertocapannelli commented 6 years ago

https://www.usenix.org/legacy/publications/library/proceedings/osdi99/full_papers/banga/banga_html/node3.html

https://stackoverflow.com/questions/37534710/relative-merits-between-one-thread-per-client-and-queuing-thread-models-for-a-th

https://eli.thegreenplace.net/2017/concurrent-servers-part-2-threads/