导航菜单

pthread是什么意思_翻译中文_怎么读

pthread

网络释义:线程示例;条件变量主要操作;线程模型

网络释义

1.线程示例 ·math: 数学函数调用 ·pthread线程示例 ·udptalk: 网络编程 ...

2.条件变量主要操作网址被屏蔽/orgs/hpclab/ 12-3-29 条件变量主要操作pthread pthread_cond_signal 使在条件变量上等待的线程中的 一个线程重 …

3.线程模型 cxx 使用 -pthread 选项而且库 SIGHUP 信号了。另外,通过运行 ...

6.线程编程 多线程编程(Pthread); 信号(Signal); Socket编程。

例句释义:,线程示例,条件变量主要操作,线程模型

1.I further tested this simple Pthread code on the PPE to see how it scales with an increasing number of threads.我在PPE上进一步测试了这个简单的Pthread代码,以此了解随着线程数量的增加它的性能变化情况。

2.As you can see, pthread_mutex_init accepts a pointer to an already-allocated region of memory to initiapze as a mutex.正如所示,pthread_mutex_init接受一个指针作为参数以初始化为互斥对象,该指针指向一块已分配好的内存区。

3.In other words, the system allocates at least 10MB of private storage for each pthread.换言之,系统为每个pthread分配至少10MB的专用存储。

4.This sounds a bit confusing, but the pthread example below will clarify how condition variables work.这听起来有点难以理解,下面的pthread例子会说明条件变量是怎么工作的。

5.Thus, PTHREAD_PROCESS_SHARED and interprocess POSIX synchronization primitives can be implemented and are now available.这样,PTHREAD_PROCESS_SHARED和进程间POSIX同步原语可以被实现,而且现在可用。

6.pthread -qthreaded or _r invocation mode Creates programs running in a multithreaded environment.pthread-qthreaded或_r调用模式创建在多线程环境中运行的程序

7.In Linux, pthread_cond_signal wakes up a thread waiting on a conditional variable.在Linux中,pthread_cond_signal会唤醒等待某个条件变更的某个线程。

8.Futex (fast user space mutex) is done by the kernel on the thread ID upon pthread_join (for more on futex, please see Resources).当pthread_join发生时由内核根据线程ID来完成Futex(fastuserspacemutex)。(要了解futex的更多信息,请参阅参考资料)。

9.POSIX provides locking and synchronization support through the pthread_mutex data type.POSIX通过pthread_mutex数据类型提供锁定和同步支持。

10.In Linux, the pthread_cancel method terminates execution of the thread identified by the specified threadId.在Linux中,pthread_cancel可以终止由具体的threadId所标识的线程的执行。