How Meta Made Debugging Async Code Easier with Coroutines and Senders
…_sr_thunk_task<…> …inject_stop_request_thunk<…>(…_sa_task) () at /home/cppcon/c 5 : auto unifex::connect_awaitable(task , receiver auto&) () at /home/cppcon/cppcon24-async 6 : unifex::task a decltype(auto) …_promise ::await_transform(…) () at /home/cppcon/cppcon24-async-demo/li 13: auto unifex::connect_awaitable(task , receiver auto&) () at /home/cppcon/cppcon24-async 14: main () at /home/cpp …inject_stop_request_thunk<…>(…_sa_task ) () at task.hpp:824 5 : auto unifex::connect_awaitable(task , receiver auto&) () at connect_awaitable.hpp:234 6 : unifex::task async_main<…>(span , auto& 0 码力 | 131 页 | 907.41 KB | 5 月前3A Case-study in Rewriting a Legacy GUI Library for Real-time Audio Software in Modern C++
kUIntProp, 4); // ... iZotope Inc.// Button.cpp Button::Button() { GetPropSignal(kText).Connect(this, [] { optional text = GetProperty (kText); assert(text); SetNeedsLayout(); GetPropSignal (kBGColor).Connect(this, update); GetPropSignal (kBorderColor).Connect(this,update); iZotope Inc.// Button.cpp Button::Button() { GetPropSignal (kText).Connect(this, [] { optional GetPropSignal (kBGColor).Connect(this, update); GetPropSignal (kBorderColor).Connect(this,update); iZotope Inc.// Button.cpp Button::Button() { GetPropSignal (kText).Connect(this, [] { optional 0 码力 | 138 页 | 2.75 MB | 5 月前3Working with Asynchrony Generically: A Tour of C++ Executors
BASIC LIFETIME OF AN ASYNC OPERATION SCHEDULER schedule SENDER RECEIVER OPERATION STATE connect start …operation completes… … and notifies receiver … time passes… Implementation details BUILDING BLOCKS OF P2300 concept scheduler: schedule(scheduler) sender; concept sender: connect(sender, receiver) operation_state; concept receiver: set_value(receiver, Values...) void; start(operation_state) void;24 Under the hood of a concurrent operation25 ALL OF THESE SENDERS IMPLEMENT CONNECT ex::sender auto work = ex::when_all( ex::schedule(sched) | ex::then([] { return compute_intensive(0);0 码力 | 121 页 | 7.73 MB | 5 月前3Tornado 6.5 Documentation
Client-side support tornado.websocket.websocket_connect(url: str | HTTPRequest, callback: Callable[[Future[WebSocketClientConnection]], None] | None = None, connect_timeout: float | None = None, on_message_callback: yield websocket_connect(url) while True: msg = yield conn.read_message() if msg is None: break # Do something with msg In the callback style, pass an on_message_callback to websocket_connect. In both styles WebSocket client connection. This class should not be instantiated directly; use the websocket_connect function instead. close(code: int | None = None, reason: str | None = None) → None Closes the websocket0 码力 | 272 页 | 1.12 MB | 2 月前3Tornado 6.5 Documentation
WebSocketHandler.ping() WebSocketHandler.on_pong() WebSocketClosedError Client-side support websocket_connect() WebSocketClientConnection WebSocketClientConnection.close() WebSocketClientConnection.write_message() on a closed connection. Added in version 3.2. Client-side support tornado.websocket.websocket_connect(url: str [https://docs.python.org/3/library/stdtypes.html#str] | HTTPRequest, callback: Callable org/3/library/constants.html#None]] | None [https://docs.python.org/3/library/constants.html#None] = None, connect_timeout: float[https://docs.python.org/3/library/functions.html#float] | None [https://docs.python0 码力 | 437 页 | 405.14 KB | 2 月前3Oracle VM VirtualBox 5.2.40 User Manual
your host. – USB device support. VirtualBox implements a virtual USB controller and allows you to connect arbitrary USB devices to your virtual machines without having to install device-specific drivers screens attached to the host system. – Built-in iSCSI support. This unique feature allows you to connect a virtual machine directly to an iSCSI storage server without going through the host system. The 112 for details. – USB over RDP. Via RDP virtual channel support, VirtualBox also allows you to connect arbitrary USB devices locally to a virtual machine which is running remotely on a VirtualBox RDP0 码力 | 387 页 | 4.27 MB | 5 月前3Oracle VM VirtualBox 5.2.12 User Manual
your host. – USB device support. VirtualBox implements a virtual USB controller and allows you to connect arbitrary USB devices to your virtual machines without having to install device-specific drivers screens attached to the host system. – Built-in iSCSI support. This unique feature allows you to connect a virtual machine directly to an iSCSI storage server without going through the host system. The 112 for details. – USB over RDP. Via RDP virtual channel support, VirtualBox also allows you to connect arbitrary USB devices locally to a virtual machine which is running remotely on a VirtualBox RDP0 码力 | 380 页 | 4.23 MB | 5 月前3Quickly Testing Qt Desktop Applications With Approval Tests
Pitfall: Qt4-style Signal/Slot connect() connect( ui->quitButton, SIGNAL(clicked()), this, SLOT(quit())); QObject::connect: No such slot SampleMainWindow::quit() QObject::connect: (sender name: 'quitButton') 'quitButton') QObject::connect: (receiver name: 'SampleMainWindow')54 Safer: Qt5-style Signal/Slot connect() • Use Qt5 pointer-to-member-function connections connect( ui->quitButton, SIGNAL(clicked()) SIGNAL(clicked()), this, SLOT(quit())); // Solution: Qt5-style connections get checked at compile-time: connect( ui->quitButton, &QPushButton::clicked, this, &SampleMainWindow::quit );55 Pitfall: Event processing in0 码力 | 77 页 | 6.96 MB | 5 月前3Oracle VM VirtualBox 4.1.40 User Manual
your host. – USB device support. VirtualBox implements a virtual USB controller and allows you to connect arbitrary USB devices to your virtual machines without having to install device-specific drivers screens attached to the host system. – Built-in iSCSI support. This unique feature allows you to connect a virtual machine directly to an iSCSI storage server without going through the host system. The 101 for details. – USB over RDP. Via RDP virtual channel support, VirtualBox also allows you to connect arbitrary USB devices locally to a virtual machine which is running remotely on a VirtualBox RDP0 码力 | 310 页 | 4.87 MB | 5 月前3Oracle VM VirtualBox 4.2.32 User Manual
your host. – USB device support. VirtualBox implements a virtual USB controller and allows you to connect arbitrary USB devices to your virtual machines without having to install device-specific drivers screens attached to the host system. – Built-in iSCSI support. This unique feature allows you to connect a virtual machine directly to an iSCSI storage server without going through the host system. The 105 for details. – USB over RDP. Via RDP virtual channel support, VirtualBox also allows you to connect arbitrary USB devices locally to a virtual machine which is running remotely on a VirtualBox RDP0 码力 | 348 页 | 5.93 MB | 5 月前3
共 51 条
- 1
- 2
- 3
- 4
- 5
- 6