Hoist retrieval of layout_threads from opts into Constellation

This commit is contained in:
Dirkjan Ochtman 2016-07-19 22:12:07 +02:00
parent 9c0e7b1cf2
commit e182d29441
6 changed files with 26 additions and 10 deletions

View file

@ -146,6 +146,8 @@ pub struct NewLayoutInfo {
pub layout_to_constellation_chan: IpcSender<LayoutMsg>,
/// A shutdown channel so that layout can tell the content process to shut down when it's done.
pub content_process_shutdown_chan: IpcSender<()>,
/// Number of threads to use for layout.
pub layout_threads: usize,
}
/// Messages sent from the constellation or layout to the script thread.