• Step 2: Create your Comment and Thread classes.

    第2创建评论类线索

    youdao

  • This depends on your ability to recognize the methods and classes in question, not to recognize the thread itself, per se.

    从本质上讲,取决于识别问题方法能力而不是识别线程本身

    youdao

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

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

    youdao

  • First, it initializes those system classes that don't require thread support by executing their static initializers.

    首先初始这些系统需要线程支持执行这些静态初始化。

    youdao

  • Only a single thread is used for all these benchmarks; the synchronized classes are under no thread contention.

    所有基准测试都使用线程同步涉及线程争用。

    youdao

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

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

    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

  • These classes guarantee that an RT thread, which could be blocked by GC while performing a wait-free operation, won't hold a lock that an NHRT requires in performing a wait-free operation.

    RT线程执行无等待操作可能GC阻塞上述保证了 RT 线程在执行无等待操作时不会持有NHRT 所需

    youdao

  • If you find yourself in need of a thread pool for your application, consider using one of the Executor classes from util.concurrent, such as PooledExecutor, rather than writing one from scratch.

    如果发现应用程序需要线程那么请考虑使用ut il . concurrent中的某个executor例如PooledExecutor不用从头开始编写

    youdao

  • The run method on this class is final so that derived classes cannot use it to specify their logic. Instead, you should override the following method so that it contains the logic for the thread.

    此类的run方法final类型,因此派生不能使用指定自己逻辑

    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

  • Do you need to single-thread your classes or can you allow WCF to spin up multiple instances simultaneously?

    是否需要类是单线程的?或者允许WCF能够同一时间有多个实例

    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

  • 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

  • MFC provides a number of classes that allow threads to synchronize access to objects to maintain thread safety.

    MFC提供许多类别,这些类别允许执行同步物件存取维护执行绪安全性。

    youdao

  • MFC provides a number of classes that allow threads to synchronize access to objects to maintain thread safety.

    MFC提供许多类别,这些类别允许执行同步物件存取维护执行绪安全性。

    youdao

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

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

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