• You should also remember that static classes that preserve state between method calls should be made thread safe by default.

    您还应该记得,在方法调用之间保留状态的静态类在默认情况下应该是线程安全的。

    youdao

  • Some classes retain state information from one method invocation to the next, and it is difficult to make such classes thread-safe in any practical way.

    有些类保留从一个方法调用到下一个方法调用的状态信息,要在实践中使这样的类成为线程安全的是困难的。

    youdao

  • One advantage of immutable classes is that they are thread-safe.

    (不可变类的一个优点就是它们是线程安全的)。

    youdao

  • The atomic classes guarantee that certain operations will be performed in a thread-safe manner, such as incrementing and decrementing a value, updating a value, and adding a value.

    原子类确保某些操作以线程安全方式被执行,比如递增和递减一个值,更新一个值,添加一个值。

    youdao

  • It is often the easiest way to render a stateful class thread-safe, or to encapsulate non-thread-safe classes so that they can safely be used in multithreaded environments.

    它常常是把有状态类描绘成线程安全的,或者封装非线程安全类以使它们能够在多线程环境中安全地使用的最容易的方式。

    youdao

  • This topic explains the classes available and how to use them to create thread-safe classes in a typical multithreaded application.

    本主题说明了可用的类以及如何在典型的多线程应用程序中使用它们创建线程安全类。

    youdao

  • All the OLE DB provider classes are thread-safe, and registry entries are set accordingly.

    所有oleDB提供程序类都是线程安全的,并且相应地设置注册表项。

    youdao

  • With the exception of enumerators, all regular expression classes are thread safe or can be converted into thread-safe objects by a synchronized method.

    除枚举数之外,所有正则表达式类都是线程安全的或者可以通过同步方法转换成线程安全对象。

    youdao

  • The structures use MFC classes that are thread-safe already for threads accessing different objects.

    数据库结构使用了MFC的类,这些类是线程安全设计的,能够让访问不同对象时不出问题。

    youdao

  • The structures use MFC classes that are thread-safe already for threads accessing different objects.

    数据库结构使用了MFC的类,这些类是线程安全设计的,能够让访问不同对象时不出问题。

    youdao

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

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

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