• 主线程监守世界并报告入侵进度。

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

    youdao

  • 因此,主线程有时也被叫做UI线程。

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

    youdao

  • 这将把调用进程的主线程转换为控制分派器。

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

    youdao

  • 如果未找到任何消息,主线程休眠10秒钟。

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

    youdao

  • 这阻塞了主线程但是在另一个线程上执行代码。

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

    youdao

  • 应用程序主线程用JNI环境。

    JNI context for the main thread of the app.

    youdao

  • 主线程会侦听缓冲队列,并服务其接收的请求。

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

    youdao

  • 只有一个主线程的时候,不需要锁操作。

    When only the main thread exists, no lock operations are needed.

    youdao

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

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

    youdao

  • 它是启动过程中隐式创建的主线程,执行main方法。

    It's the main thread that is implicitly created on process startup and executes the main method.

    youdao

  • 假设主线程将创建三个新线程:线程a、线程b和线程c。

    Let's say you have a main thread that creates three new threads: threads "a", "b", and "c".

    youdao

  • 这个函数将在 worker向主线程返回数据时被调用。

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

    youdao

  • 主线程:锁定互斥量并增量threadcount。

    Main thread: Lock mutex and increment threadcount.

    youdao

  • 当此worker完成其作业后,它会向主线程发送回一个消息。

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

    youdao

  • 如果不在主线程中调用,则返回一个默认的并行队列。

    If the call is made from any other thread, this function returns the default concurrent queue.

    youdao

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

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

    youdao

  • 我们的主线程一直等待输入任务单元结束时产生的事件信号。

    Our main thread waits on an event that is signaled when input is dying.

    youdao

  • 上面的代码,将在某个线程创建时抛出任何异常在主线程中。

    This code will assure that any exception which occurred during thread creation will be raised in your main thread.

    youdao

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

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

    youdao

  • 你需要做一些线程安全工作,确保UI修改代码被发送到主线程。

    You need to do some thread safety work and make sure that UI modifying code gets sent to the main thread.

    youdao

  • 若没有主线程与辅助线程的通信,CPU将被阻塞很长一段时间。

    Without the communications between main thread and worker thread, CPU would be locked for a long time.

    youdao

  • 主线程等待事件的发生,然后将事件传给合适的工作线程来处理。

    Once the event has been passed on, the boss thread goes back to waiting for another event.

    youdao

  • 应用程序启动时,系统会为它创建一个名为“main”的主线程。

    When an application is launched, the system creates a thread of execution for the application, called "main."

    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

  • 目前我的解决方案是使用这样的主线程,但应用开始抓取数据量是通过它现在。

    Currently my solution is working doing all of this on the main thread, but the app is starting to crawl with amount of data being run through it now.

    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

  • 在创建一个SPU线程时,这个库就创建一个新线程,它负责管理与主线程异步的spu上下文。

    When an SPU thread gets created, the library will create a new thread that manages the SPU context asynchronous to the main thread.

    youdao

  • 第二个pthread_create调用后,主线程和线程b都可以假定线程a存在(或已停止)。

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

    youdao

  • 一个用户会话有一个相关联的主线程;根据处理客户机请求的方式不同,可能有许多其他线程。

    There is one primary thread associated with a user session, and there could be many more depending on how client's requests are being processed.

    youdao

  • 然而,就在第二个create调用返回后,主线程无法假定是哪一个线程(a或b)会首先开始运行。

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

    youdao

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

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

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