Linux USES the pthread library call pthread_create to spawn a thread.
Linux使用pthread库调用pthread_create来派生线程。
For example the Linux Kernel introduced a new threading library in 2.6. This was the Native POSIX Linux thread library (NPTL).
举个例子吧,LinuxKernel 2.6引入了一个新的线程库,也就是本地的POSIX Linux线程库(NPTL)。
Middleware must be able to hide the difference of different OS, so the thread library and its model are also brought forward.
另外由于中间件必须能够隐藏平台的差异,必须提供统一的线程库给用户。
Instead of providing an abstraction of logical SPUs, this interface is thread-oriented and behaves in a similar way to the pthread library.
这个接口并不是提供一个逻辑spu的抽象,而是面向线程的,它的工作方式与pthread库类似。
As you may have guessed, the POSIX threads library will grant a lock without having put the thread to sleep at all if a thread tries to lock an unlocked mutex.
可以推测到,当线程试图锁定一个未加锁的互斥对象时,POSI x线程库将同意锁定,而不会使线程进入睡眠状态。
The Task Parallel Library, or TPL, is essentially an advanced version of the.net thread pool.
任务并行库,又被称为TPL,本质上是一个高级版本的。NET线程池。
While functionally equivalent to older library code at the thread group level, the ease of use and flexibility in the new model far exceeds any time requirements to adjust code to the newer way.
虽然在线程组级别上,新的库代码的功能与原来库代码的相同,但新模型中的易用性和灵活性远远超出了将代码调整为更新的方式所需的时间。
When an SPU thread gets created, the library will create a new thread that manages the SPU context asynchronous to the main thread.
在创建一个SPU线程时,这个库就创建一个新线程,它负责管理与主线程异步的spu上下文。
Library functions have dire warnings that they may not be "thread safe."
调用库函数时经常会遇到一些“线程不安全”的可怕警告。
This scenario only occurs when the class calling the interruptible method is part of a Thread, not a Runnable or general-purpose library code, as illustrated in Listing 5.
只有当调用可中断方法的类是Thread的一部分,而不是Runnable或通用库代码的情况下,才会发生这样的场景,清单 5演示了这种情况。
This usually means copying the arguments over from the spe local store, running the respective library function in the user thread, and continuing by calling the ioctl again.
这通常意味着从SPE的本地存储中拷贝参数,在用户线程中运行各自的库函数,并通过再次调用ioctl继续执行。
The parameter start_address for the Linux library call pthread_create is the address of the function that the newly created thread will execute.
pthread_create库调用的start_address参数是刚创建的线程要执行的函数的地址。
Note that readdir is not thread-safe, because the returned structure is a static variable stored in the function library.
请注意,readdir不是线程安全的,因为所返回的结构是存储在函数库中的一个静态变量。
When the SPU needs to do any standard library calls like printf or exit, it has to call back to the main thread.
当SPU需要执行任何标准的库调用时,例如 printf或exit,它都需要回调主线程。
In this thesis we expatiate on the related virtual memory image map structure in Windows operation system, process and thread synchronization and communication technologies, Windows socket library.
本文详细阐述了视窗系统虚拟内存中相关映像结构,进程与线程同步与通讯,网络套接字接口库。
This merely links with the library which provides the thread handling functions.
这仅仅是与它提供了线程处理函数库的链接。
The client side is encapsulated into a dynamic link library by using the remote thread technology to embed it into the system key process, which makes it truly disappear from process list.
的翻译是:客户端被浓缩入一个动态连接库通过使用遥远的螺纹技术埋置它入系统关键字过程,由处理名单真实地做它消失。
The application is multi-threaded with one main thread running the com interface and handling GUI changes (thread 1) and one thread to receive incoming messages from a C-library (thread 2).
应用程序是多线程的一个主线程运行的COM接口和处理图形的变化(线程1)和一个线程接收传入的消息(从流通图书馆线程2)。
The library is thread-safety and provide continuous stream searching. It can be used in different projects for further development.
该算法库具有多线程安全和通用的特点,可以为不同的项目提供二次开发扶持。
The run-time library code is also called during thread attach and thread detach, but the run-time code does no initialization or termination on its own.
在执行绪连结和执行绪中断连结期间也会呼叫执行阶段程式库程式码,然而执行阶段程式码不会自行初始化或终止。
The run-time library code is also called during thread attach and thread detach, but the run-time code does no initialization or termination on its own.
在执行绪连结和执行绪中断连结期间也会呼叫执行阶段程式库程式码,然而执行阶段程式码不会自行初始化或终止。
应用推荐