自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 盛大游戏李阳:龙之谷服务器设计

9月23日,首届“梦想·匠心”腾讯游戏开发者大会于深圳举行,在技术分论坛上,盛大游戏《龙之谷》手游技术总监李阳分享了龙之谷的服务器设计。作为《龙之谷》的手游技术负责人,李阳从事多年游戏后端开发,参与多款上线项目研发。李阳于本次论坛上分享《龙之谷》手游服务器在架构设计、灾备处理、性能优化、压力测试等方面遇到的一些问题和经验总结。以下内容为分享实录:李阳:谢谢大家!我大概介绍一下我们项

2017-10-25 11:36:39 5524 1

原创 唤醒线程是否要持有锁(Signal With Mutex Locked Or Not?)

我们经常需要通过某种条件去唤醒和阻塞一个线程,我们唤醒线程时是否需要继续持有锁呢,换句话说我们是先释放锁再唤醒还是先唤醒再释放锁呢?     pthread_mutex_lock(&mutex);predicate=true;pthread_cond_signal(&cv); // OR: pthread_mutex_unlock(&mutex);pthread_mutex_un

2017-10-22 11:41:55 3492 1

原创 Longest Substring Without Repeating Characters

Given a string, find the length of the longest substring without repeating characters.Examples:Given "abcabcbb", the answer is "abc", which the length is 3.Given "bbbbb", the answer is "

2017-10-20 14:43:59 367

原创 Two Sum

Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exactly one solution, and you may not use the sam

2017-10-20 12:53:29 335

原创 Add Two Numbers

You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return i

2017-10-20 12:50:23 373

原创 c++ 一百问

1 比较c和c++?2 如何理解面向对象?3 接口与实现的分离有什么好处?4 继承是否会削弱封装机制?6 如何理解动态特性?7 如何理解类和对象?8 如何理解对象的初始化?9 如何理解对象的生存周期?  10 编写C++类时需要注意哪些问题?11 如何理解构造函数?12 默认构造函数是什么,它有什么特点?13 何时调用拷贝构造函数?14 深拷贝与浅拷

2017-10-14 17:36:46 767

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除