书栈网 · BookStack 本次搜索耗时 0.018 秒,为您找到 13167 个相关结果.
  • WorkerThreadPool

    WorkerThreadPool Description Tutorials Methods Method Descriptions WorkerThreadPool Inherits: Object A singleton that allocates some Thread s on startup, used to offload ...
  • Example Syntax Reference Job-Executor Configuration Properties Limitation: Job-Acquisition Configuration Properties The job executor tag is used to configure the job executor...
  • Multi-Threading

    Multi-Threading Starting Julia with multiple threads Data-race freedom The @threads Macro Atomic Operations Side effects and mutable function arguments @threadcall Caveats S...
  • 31.3.1. Unbounded Channels

    Unbounded Channels Unbounded Channels You get an unbounded and asynchronous channel with mpsc::channel() : use std :: sync :: mpsc ; use std :: thread ; use std :: time...
  • Variables

    Variables Global Variables Thread Local Variables Local Variables Variables A variable is a unit of Memory storage. Variables are never allowed to shadow identifiers fr...
  • Mutex

    Mutex Description Tutorials Methods Method Descriptions Mutex Inherits: Reference < Object A synchronization mutex (mutual exclusion). Description A synchronization m...
  • 31.4.3. Example

    Example Example Let us see Arc and Mutex in action: use std :: thread ; // use std::sync::{Arc, Mutex}; fn main () { let mut v = vec ![ 10 , 20 , 30 ]...
  • Send and Sync

    811 2019-06-07 《The Rustonomicon》
    Send and Sync Send and Sync Not everything obeys inherited mutability, though. Some types allow you tohave multiple aliases of a location in memory while mutating it. Unless th...
  • Sentinel插件

    Sentinel插件 说明 插件设置 在网关中引入 sentinel 插件 sentinel 插件配置 选择器配置 规则配置 Sentinel插件 说明 sentinel 插件是网关用来对流量进行限流与熔断的可选选择之一。 sentinel 插件为网关熔断限流提供能力。 插件设置 请参考运维部署的内容,选择一种方式启动shenyu-...
  • 6.2 创建和使用线程

    6.2 创建和使用线程 6.2.1 创建线程类 6.2.2 多线程使用 6.2 创建和使用线程   创建和使用线程,就是要让这个线程完成一些特定的功能。在 Java 中,提供了java.lang. Thread类来完成多线程的编程,这个类也提供了大量的方法方便操作线程。在编写一个线程类时,可以继承自这个Thread类,完成线程的相关工作。 ...