C; this routine basically sets the current task's state to TASK_KILLABLE and calls schedule_timeout , which makes the calling task sleep for timeout number of jiffies.
该例程主要用于将当前任务的状态设置为TASK_KILLABLE并调用schedule _ timeout,它用于让调用任务睡眠timeout个jiffies。
This is especially important when asynchronous invocation is used where the calling task has to look for the output of the called task appearing at a particular location to continue further.
当使用了异步调用,而调用的任务需要查找所调用任务在特定位置生成的输出才能够继续后续操作时,这种方法是特别重要的。
What happens if the process that is calling the task might require a response within a certain period?
如果调用该任务的流程可能要求在某个时段内响应,结果会怎么样呢?
The CPU time used by the calling thread will be minimal, while the overall elapsed time to complete the task takes arbitrarily long.
进行调用的线程所用的CPU时间会非常少,而完成这个任务所需的时间可以无限长。
Semantic mismatches arise where the expected task or outcome of the calling application is not matched by any single interaction with another application.
如果执行调用的应用程序期望完成某个任务或得到某个结果,但是与另一个应用程序的任何单一交互都不能实现此目标,就会出现语义不匹配。
Calling this task from a scheduler would look just like it did for the Zend Framework (specifying the symfony script rather than the Zend script, of course).
从调度程序调用此任务就像为Zend框架执行的操作一样(当然,指定symfony脚本而不是zend脚本)。
This task is accomplished by calling interrupt() to "reinterrupt" the current thread, as shown in Listing 3.
该任务可以通过调用interrupt()以 “重新中断”当前线程来完成,如清单3 所示。
For example, rather than calling execute once for each task, the ExecutorService could take a collection of tasks and return a List of Futures representing the future results of each of those tasks.
例如,无需每执行一项任务就调用一次execute ,ExecutorService可以接受一组任务并返回一个表示每项任务的未来结果的未来列表。
You can then run the task by calling execute from the UI thread.
然后就可以在UI线程中调用execute来执行任务了。
Integrate the task command to the WebSphere Commerce business logic by calling the task command from the appropriate controller command of the business logic flow.
通过从业务逻辑流的适当控制器命令调用任务命令将任务命令集成到WebSphereCommerce业务逻辑。
To start the parallel task, locate a WorkManager in JNDI, as described above, and hand over the Work object by calling the startWork() method.
要启动并行任务,在JNDI 中查找WorkManager(如上所述)并通过调用startWork()方法移交Work对象。
The effects of calling the admin( ) and task( ) functions with the same argument list are equivalent, but their return values, which indicate the result of the operation, have different data types.
用相同的参数列表调用admin( )和task( )函数的效果是相同的,但是它们返回的表示操作结果的值有不同的数据类型。
The ClaimResult object is the response to the claim request and will contain the task ID, TKIID, of the task now assigned to the calling user.
ClaimResult对象是申明请求的响应,包含任务ID,TKIID,它现在分配给调用用户。
Ivy provides a task for reporting the dependent files in a project. Listing 7 demonstrates calling Ivy's report Ant task to create a list of dependencies.
Ivy提供了一个任务,用于报告一个项目中的依赖文件。
The event channel performs the task of calling the business service and notifying any listeners subscribed to the event channel of the event's successful completion or failure.
事件通道将执行调用业务服务和向订阅事件通道的所有侦听程序通知事件成功完成还是未能完成两项任务。
Is it personal - a calling - or merely a task they are focused on completing well?
是否一个人- - - -发出了呼唤-——或者仅仅是他们专注于要妥善地完成任务?
While the page is running, it can perform any task that your Web site requires, including calculating values, reading or writing database information, or calling other programs.
该页运行时,可以执行您的网站要求的任何任务,包括计算值、读写数据库信息或者调用其他程序。
He kept calling to me to ask me to do a task that I could not do.
逼命似不断给我打电话,可这事我办不了。
Our reading for today opens with Abraham calling his most trusted servant to a special task.
今天这段经文是以亚伯拉罕把一件特别的差事,交付给他最信任的仆人这件事开始的。
Our reading for today opens with Abraham calling his most trusted servant to a special task.
今天这段经文是以亚伯拉罕把一件特别的差事,交付给他最信任的仆人这件事开始的。
应用推荐