当前位置:  技术问答>linux和unix

pthread_create的问题

    来源: 互联网  发布时间:2015-05-06

    本文导语:  本人新手,在使用pthread_create()时,编译告诉我pthread_create没被引用,但我已经include了,请教。最好详细点,我不是特熟。 | 编译时加-lpthread连接线程库 cc youfile.c -lpthread ...

本人新手,在使用pthread_create()时,编译告诉我pthread_create没被引用,但我已经include了,请教。最好详细点,我不是特熟。

|
编译时加-lpthread连接线程库
cc youfile.c -lpthread ...

    
 
 
 
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。












  • 相关文章推荐
  • 一个pthread_create 编译出错,是什么原因啊
  • Linux里的pthread_create会不会阻塞啊?
  • 为什么pthread_create`编译通不过
  • 包含了#include <pthread.h>,为什么还有pthread_create错误?
  • 请问:linux下如何将一个类的指针作为参数传给pthread_create创建的线程?
  • linux下进程和线程的区别(fork(),pthread_create())?
  • pthread_create函数编译时报错?
  • REDHAT7.2提示:undefined reference to "pthread_create"
  • 请问:为什么我在守护进程里面用pthread_create来启动线程,经常会卡在那里阿?
  • pthread_create 为何报 Segmentation fault?
  • pthread_create编译错误
  • ★pthread_create 与 thr_create的区别是什么?★
  • 求助!!undefined reference to 'pthread_create'
  • 急!同一个c文件里vfork();pthread_create();两个函数,Makefile该怎么写?谢谢
  • 在LINUX GCC 编译错误 UnDefined reference to "pthread_creat"
  • No manual entry for pthread_create,我安了manpages-dev和glibc-doc
  • 为什么pthread_create创建线程出错.有完整代码,哪儿错了,大家给试试.
  • pthread_create传给执行函数的变量能不能有多个?
  • pthread_create所创建的线程中的static变量
  • (.text+0x57): undefined reference to `pthread_create'求解


  • 站内导航:


    特别声明:169IT网站部分信息来自互联网,如果侵犯您的权利,请及时告知,本站将立即删除!

    ©2012-2021,,E-mail:www_#163.com(请将#改为@)

    浙ICP备11055608号-3