single-thread
single-thread什么意思,single-thread翻译
基本解释
adj.: 〔机〕单头螺纹的
n.: 单螺纹的
网络: 单线程;只有;单执行绪
英汉解释
单螺纹的
〔机〕单头螺纹的
例句
This keyword makes it extremely easy to mark sections of code or entire methods that should only be run by a single thread at a time.
这个关键字使用方便,既可以标一段代码,也可以标整个方法,表示所标区域在同一时间只能有一个进程在访问。
It"s easy to see what to do with a single thread: exit when the user says to quit.
对于单线程程序来说,我们很容易知道是如何终止的:当用户退出时程序就退出了。
Automatic reset events are usually used to provide exclusive access to a resource for a single thread at a time.
自动重置事件通常用来一次为一个线程提供对资源的独占访问。
There will be other moments when you will suddenly remember and, once again, feel as if your whole life is hanging by a single thread.
也会有那样的时刻—你会突然想起自己的疾病,并且再一次感觉到你的全部生活系于一种单一的威胁。
Compass: A thread safe instance used to open Compass Sessions for single thread usage.
Compass:为单线程使用,创建线程安全的实例来打开CompassSeesion。
Mutex objects are synchronization objects that can be owned by only a single thread at a time.
Mutex对象是一次只能为一个线程所拥有的同步对象。
Each process is started with a single thread, often called the primary thread, but can create additional threads from any of its threads.
每个进程由一个通常称之为主线程的线程开始,但也能从它任意子线程中创建额外的线程。
From the standpoint of a single thread, a new node is created whose next pointer points to the top of the stack.
从单一线程的角度来看,创建了一个新节点,它的next指针指向堆栈的顶部。
This situation is equivalent to having acquired the lock: when there is only a single thread, all object accesses are safe.
这种情况等同于已经获取了锁:只有一个线程的时候,所有的对象访问都是安全的。
As I mentioned earlier, a single thread of tasks will be the scalability bottleneck of the system.
我之前说过,单线程的任务会成为系统可扩展性的瓶颈。