Oracle VM VirtualBox 4.3.36 Programming Guide and ReferenceLaunching virtual machines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 3.4 VirtualBox events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 4 The VirtualBox shell 48 queue checks either based on periodical timer events delivered to the main thread, or by using custom platform messages to notify the main thread when events are available. See the VBoxSDL and Qt (VirtualBox) handles for VirtualBox and Session objects, make calls to list and start virtual machines, monitor events, and uninitialize resources when done. The sample program is trying to illustrate all relevant concepts0 码力 | 376 页 | 1.99 MB | 6 月前3
deploying the networking TSWaitableTimer, typename Events, typename CompletionToken> decltype(auto) async_heartbeat(AsyncWriteStream& stream, async_write_state& state, WaitableTimer& timer, Events events, CompletionToken&& token); token); 16 Events Complex asynchronous operations contain many parts Encapsulating increasing complexity creates a shared framework Shared framework is useless if it can’t be adapted to specific use use cases Events object allows us to inject the action to take in specific use cases 17 Heartbeat Events struct /* ... */ { std::chrono::duration<...> delay(); void complete_write(); }; 18 19 After0 码力 | 44 页 | 892.77 KB | 6 月前3
Oracle VM VirtualBox 4.3.12 Programming Guide and ReferenceLaunching virtual machines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 3.4 VirtualBox events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 4 The VirtualBox shell 48 queue checks either based on periodical timer events delivered to the main thread, or by using custom platform messages to notify the main thread when events are available. See the VBoxSDL and Qt (VirtualBox) handles for VirtualBox and Session objects, make calls to list and start virtual machines, monitor events, and uninitialize resources when done. The sample program is trying to illustrate all relevant concepts0 码力 | 376 页 | 2.24 MB | 6 月前3
Oracle VM VirtualBox 5.2.40 Programming Guide and ReferenceLaunching virtual machines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 3.4 VirtualBox events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 4 The VirtualBox shell 50 queue checks either based on periodical timer events delivered to the main thread, or by using custom platform messages to notify the main thread when events are available. See the VBoxSDL and Qt (VirtualBox) handles for VirtualBox and Session objects, make calls to list and start virtual machines, monitor events, and uninitialize resources when done. The sample program is trying to illustrate all relevant concepts0 码力 | 422 页 | 2.45 MB | 6 月前3
Oracle VM VirtualBox 5.2.12 Programming Guide and ReferenceLaunching virtual machines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 3.4 VirtualBox events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 4 The VirtualBox shell 50 queue checks either based on periodical timer events delivered to the main thread, or by using custom platform messages to notify the main thread when events are available. See the VBoxSDL and Qt (VirtualBox) handles for VirtualBox and Session objects, make calls to list and start virtual machines, monitor events, and uninitialize resources when done. The sample program is trying to illustrate all relevant concepts0 码力 | 421 页 | 2.43 MB | 6 月前3
Get off my thread: Techniques for moving k to background threadsenvironments have a dedicated thread for processing events: GUIs Client-Server applications Performing extensive processing on the event thread prevents other events from being handled.Why do we need to move work thread? Delaying response to external events can have undesirable consequences:Why do we need to move work off the current thread? Delaying response to external events can have undesirable consequences: Delaying response to external events can have undesirable consequences: Microsoft Windows will grey-out the entire application window if it doesn’t respond to events Web browsers will time out if the0 码力 | 90 页 | 6.97 MB | 6 月前3
Oracle VM VirtualBox 4.1.40 Programming Guide and ReferenceLaunching virtual machines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 3.4 VirtualBox events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 4 The VirtualBox shell 42 queue checks either based on periodical timer events delivered to the main thread, or by using custom platform messages to notify the main thread when events are available. See the VBoxSDL and Qt (VirtualBox) stopped, snapshotted or other things. 3.4 VirtualBox events In VirtualBox, “events” provide a uniform mechanism to register for and consume specific events. A VirtualBox client can register an “event listener”0 码力 | 306 页 | 1.92 MB | 6 月前3
Oracle VM VirtualBox 4.2.32 Programming Guide and ReferenceLaunching virtual machines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 3.4 VirtualBox events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 4 The VirtualBox shell 42 queue checks either based on periodical timer events delivered to the main thread, or by using custom platform messages to notify the main thread when events are available. See the VBoxSDL and Qt (VirtualBox) handles for VirtualBox and Session objects, make calls to list and start virtual machines, monitor events, and uninitialize resources when done. The program uses the VBoxGlue library to open the C binding0 码力 | 339 页 | 2.07 MB | 6 月前3
Guzzle PHP 5.3 DocumentationHeaders Body Requests Responses Event System Event Emitters Event Priorities Working With Request Events Streams Creating Streams Metadata Stream Decorators RingPHP Handlers Using a handler Creating event emitter (GuzzleHttp\Event\EmitterInterface) instance to be used by the client to emit request events. This option is useful if you need to inject an emitter with listeners/subscribers already attached ‘before’, ‘complete’, ‘error’, and ‘end’ Summary: Types: Defaults: Summary: Types: Default: events as well as specify the maximum number of requests to send concurrently using the ‘pool_size’ option0 码力 | 72 页 | 312.62 KB | 11 月前3
Guzzle PHP 5.3 Documentationevent emitter (GuzzleHttp\Event\EmitterInterface) instance to be used by the client to emit request events. This option is useful if you need to inject an emitter with listeners/subscribers already attached options in the third argument that allows you to specify the ‘before’, ‘complete’, ‘error’, and ‘end’ events as well as specify the maximum number of requests to send concurrently using the ‘pool_size’ option GuzzleHttp\Stream\Stream::factory($resource); $client->get('/stream/20', ['save_to' => $stream]); events Summary An associative array mapping event names to a callable. Or an associative array containing0 码力 | 63 页 | 275.75 KB | 11 月前3
共 151 条
- 1
- 2
- 3
- 4
- 5
- 6
- 16













