mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
util: Add a multiprocess command-line option and implement
`OptionalIpcSender<T>`. `OptionalIpcSender<T>`dynamically switches between in-process and out-of-process communication depending on whether multiprocess mode is enabled. The multiprocess command-line switch doesn't actually turn on multiprocess mode yet, but it does control the behavior of `OptionalIpcSender<T>`.
This commit is contained in:
parent
ca9f9226b0
commit
ef9fdc6e30
5 changed files with 93 additions and 0 deletions
|
@ -31,6 +31,7 @@ extern crate alloc;
|
|||
#[macro_use] extern crate cssparser;
|
||||
extern crate euclid;
|
||||
extern crate getopts;
|
||||
extern crate ipc_channel;
|
||||
extern crate libc;
|
||||
extern crate num as num_lib;
|
||||
extern crate num_cpus;
|
||||
|
@ -49,6 +50,7 @@ pub mod debug_utils;
|
|||
pub mod deque;
|
||||
pub mod linked_list;
|
||||
pub mod geometry;
|
||||
pub mod ipc;
|
||||
pub mod logical_geometry;
|
||||
pub mod mem;
|
||||
pub mod opts;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue