- 博客(10)
- 资源 (38)
- 收藏
- 关注
原创 Chrome中的RunnableAdapter模板类适配多种函数
#include #include #include #include using namespace std;template struct CallbackParamTraits { typedef const T& ForwardType; typedef T StorageType;};// The Storage should
2014-01-23 15:03:15 855
转载 samb3.6.0源码编译安装
http://genime.blog.163.com/blog/static/167157753201210445128757/ 串口编程 socket中read、write、send、recv函数的比较samba源码编译安装 2012-11-04 17:04:33| 分类:开发| 标签: |举报 |字号大中小订阅
2014-01-21 14:55:52 729
原创 全局序列号的一种生成方法
#ifndef BASE_ATOMIC_SEQUENCE_NUM_H_#define BASE_ATOMIC_SEQUENCE_NUM_H_#include "base/atomicops.h"#include "base/basictypes.h"namespace base {class AtomicSequenceNumber;// Static (POD) At
2014-01-16 16:59:24 1108
原创 x86平台读取cpu支持sse2指令集的代码,以及原子操作的代码
// This module gets enough CPU information to optimize the// atomicops module on x86.#include #include "base/atomicops.h"#include "base/basictypes.h"// This file only makes sense with atomic
2014-01-16 16:54:20 1615
原创 chrome 中在栈上创建指定字节对齐的POD类型的static数据的一种可移植的方法
// Copyright (c) 2012 The Chromium Authors. All rights reserved.// Use of this source code is governed by a BSD-style license that can be// found in the LICENSE file.// AlignedMemory is a POD ty
2014-01-16 16:44:02 810 1
转载 chrome源码解析系列:Chrome消息系统(1)
chrome中有很多闪光点地方,它的消息系统就一快纯金,要看chrome 源码,必须要过消息系统这关。 本来这本部打算写在上一章的,考虑内容涵盖范围太广的,打算另开一章来写 chrome的消息系统,回头在去上一章做个比较有概括力的总结。本章的思路是按照一下逻辑来展开的: 1:消息系统的概述(消息系统静态模型和动态模型的一个简单的介绍) 2:一个消息系统的生死因果(细说Mes
2014-01-09 19:53:23 889
转载 通过/proc查看Linux内核态调用栈来定位问题
前几天碰到一个问题:一个进程运行过程中挂死了,把gdb挂上去之后bt打印的内容为空,后来通过查看 /proc 文件系统,查看程的调用栈,才发现是发消息给内核态程序时,内核态一直没有响应,导致用户态进程挂死。刚好在网上看到一篇描述通过 /proc 文件系统来定位问题的文章,这篇文章讲解得比较清楚,因此尝试翻译出来。原文地址:Peeking into Linux kernel-land using
2014-01-08 17:25:06 19812 2
转载 Chrome源码剖析、上
Chrome源码剖析、上 http://www.cnblogs.com/hibernate6/archive/2011/04/02/2522304.html 原著:duguguiyu。 整理:July。 时间:二零一一年四月二日。 出处:http://blog.csdn.net/v_JULY_v。 说明:此Chrome源码剖析很大一部分编辑整理自此博客:http
2014-01-08 16:17:57 561
转载 Chrome学习笔记(一):线程模型,消息循环
http://bigasp.com/archives/478 原创文章,转载请注明:转载自Soul Apogee本文链接地址:Chrome学习笔记(一):线程模型,消息循环看Chrome已经有一段时间了,但是一直都没有沉淀些内容下来,是该写写笔记什么的了,免得自己忘记了。看的都是Windows平台下的代码,所以记录也都是记录的。。。废话。。那么首先,先从最基础的东西记录起
2014-01-08 11:12:54 1416
转载 Chrome - Threading
http://www.chromium.org/developers/design-documents/threading OverviewChromium is a very multithreaded product. We try to keep the UI as responsive as possible, and this means not blocking the
2014-01-08 11:10:42 1096
reliable rabbitmq c++ client
2018-07-16
trade middle ware
2018-06-29
simple exchange platform client
2018-06-01
evpp based echo server
2018-05-03
libevent echo server
2018-04-24
thrift with memfunc and uid generator
2018-01-30
thrift server support db operation and rest protocol
2018-01-18
20180111 ieap
2018-01-11
AnalyzeServer 20180109 with DBConnPool
2018-01-09
thrift example
2018-01-04
prpc_20181109
2018-11-09
coroutine using phxrpc
2018-11-01
remote procedure call using protobuffer
2018-08-21
brpc doubly_buffered_data test
2018-08-07
rabbitmq-c client publish get example
2018-07-13
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人