TFE 支持 accept/worker 线程绑定 cpu

This commit is contained in:
luwenpeng
2020-07-28 16:43:37 +08:00
parent 4d7957e0cc
commit c82429c9d9
6 changed files with 87 additions and 4 deletions

View File

@@ -9,6 +9,7 @@
struct tfe_thread_ctx
{
struct tfe_proxy *proxy;
pthread_t thr;
unsigned int thread_id;
unsigned int load;