1
0
mirror of https://github.com/kakwa/uts-server synced 2024-11-11 12:08:54 +01:00
uts-server/inc
kakwa e948177a41 enabling multi-threads support
as TS_RESP_CTX is not thread safe, this commit implement a pool of
TS_RESP_CTX in which a thread can pick one in a thread safe maner.

* implement a ts_resp_ctx_wrapper containing a TS_RESP_CTX and a
  lock and bool to mark the availability of the TS_RESP_CTX
* implement the get_ctxw to recover a given TS_RESP_CTX in a thread safe
   maner
* adapt the rest of the code to accomodate the new way of doing things
* set the default number of threads to 10 as it's now safe to do so
2016-09-08 23:21:53 +02:00
..
context.h enabling multi-threads support 2016-09-08 23:21:53 +02:00
http.h code reformatting 2016-09-01 08:29:07 +02:00
rfc3161.h enabling multi-threads support 2016-09-08 23:21:53 +02:00
utils.h enabling multi-threads support 2016-09-08 23:21:53 +02:00