在建线程池过程当中遇见上图所示错误;
解决方法:
Linux中定义:
SYNOPSIS
#include <pthread.h>
void pthread_cleanup_push(void (*routine)(void *),void *arg);
void pthread_cleanup_pop(int execute);
Compile and link with -pthread.
DESCRIPTION
These functions manipulate the calling thread's stack of thread-cancellation clean-up handlers.
更多推荐
C语言报错:error: expected ‘while’ at end of input } ^
发布评论