Concurrency## Back To Basics Concurrency ## +23 ## DAVID OLSEN ## 3 ## BACK TO BASICS: CONCURRENCY David Olsen, Software Engineer, NVIDIA CppCon, October 5, 2023  ## Getting our feet wet // What does this print? int main() { int pid = fork();0 码力 | 43 页 | 648.31 KB | 2 年前3
Back to Basics: Concurrency## +21 ## Back to Basics: Concurrency ## MIKE SHAH 2021 October 24-29 ## Please do not redistribute slides without prior permission ## Back to Basics: Concurrency Mike Shah, Ph.D. @MichaelShah | mshah about the free lunch being over for programmers? In this talk we provide a gentle introduction to concurrency with the modern C++ std::thread library. We will introduce topics with pragmatic code examples locks, and showing how these programming primitives enable concurrency. In addition, we will show the common pitfalls to be aware of with concurrency: data races, starvation, and deadlock (the most extreme0 码力 | 141 页 | 6.02 MB | 1 年前3
Concurrency Patterns I## +21 ## Concurrency Patterns ## RAINER GRIMM 20 21 October 24-29 ## Definition "Each pattern is a three-part rule, which expresses a relation between a certain context, a problem, and a solution Interaction 7. Solution 8. Example 9. Consequenses 10. Related pattern 11. Known usages ## Concurrency Patterns ## Pattern-Oriented Software Architecture (Volume 2 and 4)  ## Concurrency Patterns ## Synchronization Patterns Concurrent Architecture ## Dealing with Sharing ■ Copied0 码力 | 39 页 | 1.14 MB | 1 年前3
Back to Basics: Concurrency## Back to Basics: Concurrency I also do C++ training! arthur.j.odwyer@gmail.com ## Outline - What is a data race and how do we fix it? [3–12] • C++11 mutex and RAI lock types [13–23] Questions? • • The blue/green pattern [46–52] ● Bonus C++20 slides [53–58] Questions? ## What is concurrency? - Concurrency means doing two things concurrently — “running together.” Maybe you’re switching back and music - In extremely broad strokes, parallelism is a hardware problem (think multiple CPUs) and concurrency is a software problem (think time-sharing, but also Intel’s “hyperthreading”). ## Why does C++0 码力 | 58 页 | 333.56 KB | 1 年前3
Concurrency Patterns in C## Concurrency Patterns in Go Artsiom Bukhautsou Senior Backend Engineer @Nord Security ## Agenda 1. Fan-in 2. Fan-out 3. Pipeline 4. Fan-in, Fan-out, Pipeline 5. Tee 🌱 ## Why learn these patterns0 码力 | 20 页 | 1.35 MB | 1 年前3
Coroutines and Structured Concurrency in Practice## +24 ## Coroutines and Structured Concurrency in Practice ## DMITRY PROKOPTSEV ## Challenges when onboarding coroutines A lot of existing code mostly callback-based A custom-built I/O event loop object lifetime management • Easier error propagation But we need some structure ## Structured concurrency And why we care ## A typical async framework class Task { ... } represents a unit of background co_return visit(identity{}, v); } } ## Structured concurrency Tasks naturally form a "call tree" • coroutines • leaf awaitables (sleeping, I/O, etc)0 码力 | 103 页 | 1.98 MB | 1 年前3
Sender Patterns to Wrangle Concurrency in Embedded Devices## Sender Patterns to Wrangle Concurrency in Embedded Devices ## Michael Caisse michael.caisse@intel.com @MichaelCaisse  Ben the count one digit at a time. 3. When done, yell "End of Line" ## async/concurrency ## async/concurrency  Sender Video Sponsorship Provided By millennium think-cell ## Employing Senders and Receivers to Tame Concurrency in Embedded Systems Michael Caisse  ## Concurrency TS1: Don’t we already have a TS? • Produced in 2015 - Produced by the Concurrency Study Group (SG1) with input from LEWG, LWG • Separate0 码力 | 58 页 | 1.62 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
ConcurrencyparallelismData RacesMutexesatomic operationsConcurrency in RustRustFutures并发编程线程同步原语控制流并行性能Concurrency PatternsThread-Specific StorageMonitor ObjectScoped LockingFuture并发数据竞争mutex条件变量静态初始化Fan-inFan-outPipelineTeecoroutinesstructured concurrencycallback-basedI/O event loopobject lifetime managementSender PatternsEmbedded DevicesStructured ConcurrencyDebuggingC++MISRAsafety-critical systemsconcurrencyConcurrency TS2hazard ptrRCUshared_ptratomic_shared_ptr













