2018年9月19日

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 阅读(557) 评论(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 阅读(535) 评论(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 阅读(650) 评论(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 阅读(802) 评论(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 阅读(137) 评论(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 阅读(158) 评论(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 阅读(256) 评论(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 阅读(542) 评论(0) 推荐(0) 编辑

[Chromium文档转载,第001章] Mojo Migration Guide

摘要: For Developers‎ > ‎Design Documents‎ > ‎Mojo‎ > ‎ Mojo Migration Guide 目录 1 Summary 2 How do I migrate my IPC to Mojo? 2.1 Don’t panic 2.2 Read the Mo 阅读全文

posted @ 2018-09-18 19:53 huangguanyuan 阅读(606) 评论(0) 推荐(0) 编辑

Windows10上使用windbg调试Chromium Windows。

摘要: ###目的###Windows10上使用windbg调试Chromium Windows。 安装Windows 10 SDK时, 就包含了windbg.exe。"C:\Program Files (x86)\Windows Kits\10\Debuggers\x86\windbg.exe"的路径加入 阅读全文

posted @ 2018-09-18 00:58 huangguanyuan 阅读(1568) 评论(0) 推荐(0) 编辑

导航