请输入您要查询的百科知识:

 

词条 pthread_getcpuclockid
释义

名字

pthread_getcpuclockid -访问一个线程CPU-time时钟(先进的实时的线程)内容提要#include <pthread.h>

#include <time.h>

int pthread_getcpuclockid(pthread_t thread, clockid_t *clock_id);

描述函数的pthread_getcpuclockid必归回时钟在clock_id身分的CPU-time时钟线程的thread_id规定,如果线程指定thread_id存在。

返回值在成功完成,pthread_getcpuclockid()将返回0,否则,一个错误的号码应归还显示错误。

错误函数的pthread_getcpuclockid可能会失败,如果:[ESRCH]指定thread_id价值不是指一个现有的线.

随便看

 

百科全书收录4421916条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。

 

Copyright © 2004-2023 Cnenc.net All Rights Reserved
更新时间:2025/2/12 21:22:35