hazard pointer synchronous reclamationbj> { Key k; /* etc */ }; hazard_pointer_domain dom_; // other members void erase(Key k) { Obj* obj = foo_remove_obj(k); obj->retire(dom_); } }; • Works. The domain and all objects retired0 码力 | 31 页 | 856.38 KB | 6 月前3
Working with Asynchrony Generically: A Tour of C++ Executors// Type-erased receiver waiting for a keyclick: struct pending_completion { virtual void complete(char) = 0; virtual ~pending_completion() {} }; // Global registration of next completion: std::a 3: Model Ctrl-C as a sender103 struct ctrl_c_handler { struct pending { virtual void complete() = 0; virtual ~pending() {} }; static inline std::atomicpending_{nullptr}; static pending_completion { virtual void complete(char) = 0; virtual ~pending_completion() {} }; struct pending_completion { virtual void complete(char) = 0; virtual void cancel() = 0; virtual ~pending_completion() 0 码力 | 121 页 | 7.73 MB | 6 月前3
基于Rust-vmm实现Kubernetes运行时love Rust-VMM? Rust-VMM is an open-source project that empowers the community to build custom Virtual Machine Monitors (VMMs) and hypervisors. It abstracts the common virtualization components which and safety, especially safe concurrency. empty • vmm-vcpu: a hypervisor-agnostic abstraction for Virtual CPUs (vCPUs). rust-vmm • event-manager: abstractions for implementing event based systems. • linux-loader: FFI bindings to virtio kernel headers generated using bindgen. • vm-memory: abstractions over a virtual machine's memory. • vmm-sys-util: collection of modules providing helpers and utilities for building0 码力 | 27 页 | 34.17 MB | 1 年前3
Secure your microservices with istio step by stepproductpage-credential 3) Define a gateway which specifying above secret and define corresponding virtual service which configuring traffic routes Secure ingress gateway via TLS terminating Using ingress productpage-credential 3) Define a gateway which specifying above secret and define corresponding virtual service which configuring traffic routes Secure ingress gateway via TLS terminating https http terminate TLS in gateway using istio cert ● PASSTHROUGH: pass through the TLS traffic using SNI and virtual Service ● AUTO_PASSTHROUGH: pass through the TLS traffic purely using SNI without VS apiVersion:0 码力 | 34 页 | 67.93 MB | 1 年前3
C++20: An (Almost) Complete OverviewCapture Templated Lambda Expressions Pack Expansion in Lambda Captures constexpr Changes virtual functions union, try/catch, dynamic_cast, typeid allocations constexpr string & vector args...); }; } Allowed in C++20 // ✔ well- formed:constexpr Changes32 constexpr constexpr virtual functions constexpr functions can now: use dynamic_cast() and typeid do dynamic memory allocations Capture Templated Lambda Expressions Pack Expansion in Lambda Captures constexpr Changes virtual functions union, try/catch, dynamic_cast, typeid allocations constexpr string & vector0 码力 | 85 页 | 512.18 KB | 6 月前3
Making Libraries Consumable for Non-C++ Developers*/ data_t get_data_from(size_t dev); class dev_t { public: /* Get data from this device. */ virtual data_t get_data_from() = 0; }; Assuming callee cleanup and focusing on data_t, is its return location0 码力 | 29 页 | 1.21 MB | 6 月前3
THE FIRST EXPLORATION OF PROJECT SPARROWhtml 1.5 Renode Overview I. Background https://renode.io/ Antmicro's virtual development framework for complex embedded systems. https://github.com/lowrisc I0 码力 | 68 页 | 13.14 MB | 1 年前3
C++20 STL Features: 1 Year of Development on GitHubfor associative • Avoids potential confusion41 Continuous Integration • Scripts prepare Azure Virtual Machine Scale Sets • Currently up to 12 VMs, each with 16 cores • VMs install VS (with Clang, CMake0 码力 | 45 页 | 702.09 KB | 6 月前3
C++高性能并行编程与优化 - 课件 - 性能优化之无分支编程 Branchless Programming(*func)(int x); 则对他的调用 (*func)(42); 会得到: • mov edi, 42 • call [func] 热知识: C++ 的虚函数就是函数指针 • 通过 virtual 关键字给类定义一个虚函数,他其实就是在类成员里加了一个函数指针。 • 而在构造函数里,会把当前类重载过的虚函数,赋予给那个函数指针,实现多态。 • 虚函数是 C++ 的语法糖,纯 C 的 Linux0 码力 | 47 页 | 8.45 MB | 1 年前3
共 9 条
- 1
相关搜索词
hazardpointersynchronousreclamationWorkingwithAsynchronyGenericallyTourofC++Executors基于Rustvmm实现Kubernetes运行Secureyourmicroservicesistiostepby20AnAlmostCompleteOverviewMakingLibrariesConsumableforNonDevelopers李枫2023RustChinaConf__SparrowFengLi20230614aofficialtemplateSTLFeaturesYearDevelopmentonGitHub高性性能高性能并行编程优化课件













