2018年9月19日

Important Abstractions and Data Structures

摘要: For Developers‎ > ‎Coding Style‎ > ‎ Important Abstractions and Data Structures 目录 1 TaskRunner & SequencedTaskRunner & SingleThreadTaskRunner 2 Messa 阅读全文

posted @ 2018-09-19 11:13 huangguanyuan 阅读(173) 评论(0) 推荐(0)

Callback<> and Bind()

摘要: Callback<> and Bind() Introduction The templated base::Callback<> class is a generalized function object. Together with the base::Bind() function in b 阅读全文

posted @ 2018-09-19 11:10 huangguanyuan 阅读(835) 评论(0) 推荐(0)

Threading and Tasks in Chrome

摘要: Threading and Tasks in Chrome Contents Overview Threads Tasks Prefer Sequences to Threads Posting a Parallel Task Direct Posting to the Task Scheduler 阅读全文

posted @ 2018-09-19 10:57 huangguanyuan 阅读(588) 评论(0) 推荐(0)

LINUX中,find结合grep正则表达式,快速查找代码文件。

摘要: ###目的###LINUX中,find结合grep正则表达式快速查找代码。 例如经常有需求:查找当前目录下所有.h文件中,"public开头,中间任意字符,以VideoFrameReceiver结束" 的文件名。find . -iname "*.h" -type f | xargs grep --c 阅读全文

posted @ 2018-09-19 00:52 huangguanyuan 阅读(549) 评论(0) 推荐(0)

2018年9月18日

[Chromium文档转载,第007章]JNI on Chromium for Android

摘要: Overview JNI (Java Native Interface) is the mechanism that enables Java code to call native functions, and native code to call Java functions. Native 阅读全文

posted @ 2018-09-18 20:58 huangguanyuan 阅读(690) 评论(0) 推荐(0)

[Chromium文档转载,第006章]Chrome IPC To Mojo IPC Cheat Sheet

摘要: For Developers‎ > ‎Design Documents‎ > ‎Mojo‎ > ‎ Chrome IPC To Mojo IPC Cheat Sheet 目录 1 Overview 2 Threading Model 2.1 IPC 2.2 Mojo 3 Declaring Mess 阅读全文

posted @ 2018-09-18 20:56 huangguanyuan 阅读(837) 评论(0) 推荐(0)

[Chromium文档转载,第005章]Calling Mojo from Blink

摘要: For Developers‎ > ‎Design Documents‎ > ‎Mojo‎ > ‎ Calling Mojo from Blink Variants Let's assume we have a mojom file such as this: module example.mojo 阅读全文

posted @ 2018-09-18 20:54 huangguanyuan 阅读(158) 评论(0) 推荐(0)

[Chromium文档转载,第004章]Mojo Synchronous Calls

摘要: For Developers‎ > ‎Design Documents‎ > ‎Mojo‎ > ‎ Synchronous Calls Think carefully before you decide to use sync calls Although sync calls are conven 阅读全文

posted @ 2018-09-18 20:52 huangguanyuan 阅读(180) 评论(0) 推荐(0)

[Chromium文档转载,第003章]Proposal: Mojo Synchronous Methods

摘要: Proposal: Mojo Synchronous Methods yzshen@chromium.org 02/02/2016 Overview Currently there are quite a lot of sync IPC messages in Chrome: A quick sea 阅读全文

posted @ 2018-09-18 20:49 huangguanyuan 阅读(270) 评论(0) 推荐(0)

[Chromium文档转载,第002章]Mojo C++ Bindings API

摘要: Mojo C++ Bindings API This document is a subset of the Mojo documentation. Contents Overview Getting Started Interfaces Basic Usage InterfacePtr and I 阅读全文

posted @ 2018-09-18 20:43 huangguanyuan 阅读(561) 评论(0) 推荐(0)

导航