4 – The Application Program Interface 4 – The Application Program Interface This section describes the C API for Lua, that is, the set of C functions available to the host prog...
A few loose ends Notify utility A few loose ends Recall when we were implementing the Delay future, we said there were a few more things to fix. Rust’s asynchronous model al...
Nodes hot threads Example Path and HTTP methods Path parameters Query parameters Sample request Sample response Response Required permissions Nodes hot threads The nodes...
Shared-State Concurrency Using Mutexes to Allow Access to Data from One Thread at a Time The API of Mutex Sharing a Mutex Between Multiple Threads Multiple Ownership with Mul...
Multi-Threading Starting Julia with multiple threads Data-race freedom The @threads Macro Atomic Operations Per-field atomics Side effects and mutable function arguments @thr...
并发概述 Rules for state sharing Rule 1: Mutable state == 1 thread Rule 2: Immutable state == many threads Immutable and frozen state Global state Global object Global properties...