• This blocks the main thread but executes the code on another thread.

    阻塞主线但是另一个线程上执行代码

    youdao

  • Because the main thread is solely responsible for multiplexing between all clients, we cannot afford to allow it to block.

    为主线程单独负责所有客户机的多路复用,因此我们不能阻塞

    youdao

  • In this model, called Pipelining, the main thread is used to loop through the results as they are produced by the other threads.

    这个被称为“并行管道”的模型下,主线程将会另一线程产出结果同时进行循环处理。

    youdao

  • 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上下文

    youdao

  • Any long running operation that operates on the main thread will cause an application to freeze up.

    任何在主线运行类操作都会导致应用程序冻结。

    youdao

  • Parallelism is introduced by running the main thread scheduling child threads for each task so that the tasks execute concurrently while each thread execute the task synchronously.

    并行性通过运行主线一个任务调度执行线程实现的,这样任务就会并发执行,而每一个线程是同步执行任务的。

    youdao

  • The only problem with this function is that when it periodically executes, it executes on the main thread and thus blocks any interactions from the user during that time.

    函数惟一缺陷主线程执行因此,在此期间,它会阻塞用户任何交互

    youdao

  • As such, the main thread is also sometimes called the UI thread.

    因此主线有时叫做UI线程

    youdao

  • One issue that was found after the release of MacRuby 0.6 seems to cause problems with scheduling a block to run on the main thread from a background thread.

    MacRuby 0.6发布之后,用户发现问题运行某代码段的时候,后台线程切换主线会导致程序崩溃。

    youdao

  • However, immediately after the second create call returns, the main thread can't assume which thread (a or b) will actually start running first.

    然而,就第二create调用返回后主线无法假定是哪线程(ab)首先开始运行

    youdao

  • That data is also available to the main thread by accessing the data property of the message it receives.

    主线程可以通过访问接收到消息data属性来访问该数据

    youdao

  • After the second pthread_create call, both the main thread and thread "b" can assume that thread "a" exists (or has stopped).

    第二个pthread_create调用主线线程b可以假定线程a存在(停止)。

    youdao

  • The lock function main thread gets the result from the child thread.

    lock函数主线线程获得结果

    youdao

  • Main thread: Lock mutex and increment threadcount.

    主线程:锁定互斥量增量threadcount

    youdao

  • When you finish processing the data in the Worker script, you invoke the postMessage function to send data back to the main thread.

    处理Worker脚本中的数据时,调用postMessage函数数据返回主线程

    youdao

  • So we see another issue with running on the UI thread and outputting information to the console: the whole pluglet has to end before any output from the main thread is sent to the console.

    因此我们发现了在UI线程运行pluglet输出信息控制台上另一个问题整个pluglet必须主线程的任何一个输出发送到控制台之前结束

    youdao

  • Main thread: Call pthread_create .

    主线程:调用pthread_create 。

    youdao

  • This transforms the main thread of the calling process into the control dispatcher.

    调用进程主线程转换控制分派器

    youdao

  • The main thread writes bytes read from the channel into the pipe.

    主线程把通道读取数据写到管道中。

    youdao

  • If no message is found, the main thread sleeps for 10 seconds.

    如果找到任何消息主线休眠10秒钟

    youdao

  • Now the result of the request must be made available to the main thread.

    现在请求结果必须主线程中可用

    youdao

  • A main thread will listen to the buffered queue and will service the requests it receives.

    主线侦听缓冲队列服务接收请求

    youdao

  • The main thread watches the world and reports on the invasion's progress.

    主线监守世界报告入侵进度

    youdao

  • Background tasks will use the DataFlowStream to stream result tweets back to the main thread that reads them from the stream.

    后台任务使用DataFlowStream结果tweets流式传输主线程,该主线程数据流中读取它们

    youdao

  • When the worker finishes its work, it will send a message back to the main thread.

    worker完成作业主线发送一个消息

    youdao

  • The article also explains the API that your application can use to interact with Android UI toolkit components running on the main thread and spawn managed worker threads.

    同时本文应用程序与主线程中的AndroidUItoolkit组件交互以及产生托管工作线程API进行解释

    youdao

  • When the SPU needs to do any standard library calls like printf or exit, it has to call back to the main thread.

    SPU需要执行任何标准调用时,例如 printfexit需要调主线程。

    youdao

  • This is the function that is called whenever the worker sends data back to the main thread.

    这个函数在 worker主线程返回数据调用。

    youdao

  • Without the mutex, thread_function will overwrite the incremented value when it wakes up if our main thread increments myglobal during thread_function 's one-second nap.

    使用互斥对象时,即使主线程在thread_function线程睡眠一秒钟期间内对myglobal加一,thread_function苏醒后也覆盖主线程所加

    youdao

  • To clarify these three issues on the basis of their own, we use "understand" as the main thread, and do a brief comparative analysis, trying to draw some useful views.

    在先弄清楚三个不足基础上理解主要线索,对它们简要比较浅析浅析,试图得出一些有益的看法。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定