• 记忆数据的状态会使函数不可重入。

    Remembering the state of the data makes the function non-reentrant.

    youdao

  • 不可重入的函数不能由多个线程使用。

    Non-reentrant functions cannot be used by multiple threads.

    youdao

  • 不可重入函数和静态变量。

    Non-reentrant functions and static variables.

    youdao

  • 指出了确保底层函数的可重入性的方法。

    Suggests ways to ensure reentrancy of the underlying function.

    youdao

  • 讨论了在编译器层次上对可重入性的处理。

    Discusses dealing with reentrancy at the compiler level.

    youdao

  • 给出了示例,以说明不可重入性所导致的问题。

    Provides examples to show problems caused by non-reentrancy

    youdao

  • 返回指向静态数据的指针可能会导致函数不可重入。

    Returning a pointer to static data may cause a function to be non-reentrant.

    youdao

  • 我将提出一个在编译器层次处理可重入函数的模型。

    I would like to propose a model for dealing with reentrant functions at the compiler level.

    youdao

  • 出于以下任意某个原因,其余函数是不可重入的。

    The rest of the functions are non-reentrant because of any of the following.

    youdao

  • 由进行调用的函数准备输出存储空间确保了函数的可重入性。

    Providing output storage by the calling function ensures the reentrancy of the function.

    youdao

  • 通过修改函数的原型,您可以实现这个函数的可重入版本。

    You can implement the reentrant version of this function by changing the prototype of the function. This listing provides storage for the output string

    youdao

  • 定义了可重入性,并包含一个可重入函数的POSIX清单。

    Defines reentrancy and includes a POSIX listing of a reentrant function.

    youdao

  • 这是可以接受的,因为我们的测试框架不是多线程的或可重入的。

    It is acceptable because our test framework is not multithreaded or reentrant.

    youdao

  • 可重入函数可以在任意时刻被中断,稍后再继续运行,不会丢失数据。

    A reentrant function can be interrupted at any time and resumed at a later time without loss of data.

    youdao

  • 假定信号处理器使用了不可重入的gethostbyname。

    Suppose that the signal handler USES gethostbyname, which is non-reentrant.

    youdao

  • 为了让它可重入,静态数据,即index,需要由调用者来维护。

    To make it reentrant, the static data, the index variable, needs to be maintained by the caller. The reentrant version of the function could be implemented like this.

    youdao

  • 可重入函数要么使用本地变量,要么在使用全局变量时保护自己的数据。

    Reentrant functions either use local variables or protect their data when global variables are used.

    youdao

  • 本文描述了在并行和并发程序设计中函数的不可重入性导致的一些潜在问题。

    This article describes some potential problems due to non-reentrancy of the function in parallel and concurrent programming.

    youdao

  • 近来很多提供商已经开始提供标准c程序库的可重入版本,这是一个好消息。

    The good news is, these days many vendors have taken the initiative to provide reentrant versions of the standard C library.

    youdao

  • 注意,这里遵循了标准惯例,通过向函数名添加“_ r”后缀来命名可重入函数。

    Note that this follows a standard convention for the naming of reentrant function by suffixing the function name with "_r".

    youdao

  • 如果底层的函数处于关键部分,并且生成并处理信号,那么这可能会导致函数不可重入。

    If the underlying function is in the middle of a critical section and a signal is generated and handled, this can cause the function to be non-reentrant.

    youdao

  • 确保准则3得到满足,要求编译器预先知道所有可重入函数,包括应用程序所使用的程序库。

    Ensuring guideline 3 requires the compiler to have prior knowledge of all the reentrant functions, including the libraries used by the application.

    youdao

  • 在早期的编程中,不可重入性对程序员并不构成威胁;函数不会有并发访问,也没有中断。

    In the early days of programming, non-reentrancy was not a threat to programmers; functions did not have concurrent access and there were no interrupts.

    youdao

  • 由于信号在本质上是异步的,所以难以找出当信号处理函数触发某个不可重入函数时导致的bug。

    Due to the asynchronous nature of signals, it is difficult to point out the bug caused when a signal-handling function triggers a non-reentrant function.

    youdao

  • 道琼斯通讯社的一篇文章援引鲍尔默的讲话报导说,在经济重入正轨前没有人非常清楚资产价值应该是多少。

    'Nobody quite knows what asset values should be until the economy re-sets,' Ballmer is quoted as saying in a Dow Jones Newswires article.

    youdao

  • 如果使用第三方程序库,事情会变得更为复杂,因为您永远不知道哪部分程序库是可重入的,哪部分是不可重入的。

    Things become even more complicated when you're using a third-party library, because you never know which parts of the library are reentrant and which are not.

    youdao

  • 对标准程序库而言,有很多程序库函数在固定的对象中返回值,总是重复使用同一对象,这就使得那些函数不可重入。

    As with the standard library, there can be many library functions that return values in fixed objects, always reusing the same objects, which causes the functions to be non-reentrant.

    youdao

  • 在大部分系统中,malloc和free都不是可重入的,因为它们使用静态数据结构来记录哪些内存块是空闲的。

    On most systems, malloc and free are not reentrant, because they use a static data structure that records which memory blocks are free.

    youdao

  • 如果某个函数使用并修改了您提供的某个对象,那它可能就是不可重入的;如果两个调用使用同一对象,那么它们会相互干扰。

    If a function USES and modifies an object that you supply, it is potentially non-reentrant; two calls can interfere if they use the same object.

    youdao

  • 如果某个函数使用并修改了您提供的某个对象,那它可能就是不可重入的;如果两个调用使用同一对象,那么它们会相互干扰。

    If a function USES and modifies an object that you supply, it is potentially non-reentrant; two calls can interfere if they use the same object.

    youdao

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

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

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