diff --git a/Platform/user/rpc/rpc_thread.c b/Platform/user/rpc/rpc_thread.c index f1cae7460..72f513a4a 100755 --- a/Platform/user/rpc/rpc_thread.c +++ b/Platform/user/rpc/rpc_thread.c @@ -331,10 +331,10 @@ static void* thread_client_handler(void* data) { //pthread_mutex_t mutex = th->client->mutex; - pthread_mutex_lock(&(th->client->mutex); + pthread_mutex_lock(&(th->client->mutex)); th->client->init_count++; pthread_cond_signal(&(th->client->cond)); - pthread_mutex_unlock(&(th->client->mutex); + pthread_mutex_unlock(&(th->client->mutex)); th->thread_receive_id = pthread_self(); ev_run(th->loop, 0); return NULL;