2018年6月18日

线程高级编程

摘要: 一次性初始化 pthread_once_t once_control = PTHREAD_ONCE_INIT;//控制参数,用来确定是否已调用相关的初始化例程。 int pthread_once(pthread_once_t *once_control,void (*init_routine)(vo 阅读全文

posted @ 2018-06-18 14:13 tianzeng 阅读(3995) 评论(0) 推荐(0) 编辑

time函数及其用法

摘要: st_atime:文件中的数据最后被访问的时间 Time when file data was last accessed. Changed by the following functions: creat(), mknod(), pipe(), utime(2), and read(2). st 阅读全文

posted @ 2018-06-18 12:13 tianzeng 阅读(13491) 评论(0) 推荐(0) 编辑

导航