--[[协同程序的四种状态挂起(suspended)、运行(running)、死亡(dead)和正常(normal)status yield --挂起程序coroutine.create(function(a, b, c) --coroutine.resume(co, 1, 2, 3) 分别把1,....
分类:
其他好文 时间:
2015-01-22 19:54:41
阅读次数:
165
执行时机:
中断或者异常返回到用户态时,系统调用返回,调用信号处理函数。
代码:
entry_64.s system_call -》 do_notify_resume -> do_signal 处理信号
sigpending 函数:
功能:返回在阻塞期间接收到阻塞信号的集合。
sigprocmask函数:
功能描述:...
分类:
系统相关 时间:
2015-01-20 08:59:20
阅读次数:
269
platform_driver中实际上有2套probe, remove ... 为什么会这样的?为什么电源管理的回调函数,有些使用platform_driver.suspend/resume定义,有些使用platform_driver.driver.pm.suspend/resume定义?
分类:
其他好文 时间:
2015-01-19 23:33:56
阅读次数:
432
Eclipse快捷键失效解决办法 最近在打开Eclipse的debug之后,狂按F8(resume),不能跳到下一个断点,心急如焚。各种查看Eclipse快捷键设置,以至于怀疑Eclipse出了问题,于是删掉,重新解压之前下载的安装包,结果如故。相信小伙伴们碰到过和我一样的问题也会很着急吧。图1 ....
分类:
系统相关 时间:
2015-01-15 20:10:35
阅读次数:
169
onPostOnCreate()和OnPostResme()这两个函数onPostResume() Called when activity resume is complete (after onResume has been called). Applications will general....
分类:
移动开发 时间:
2015-01-15 19:45:44
阅读次数:
161
/// /// 将Temporary文件夹里的Logo文件转移到Logo文件夹 /// /// /// private bool RemoveToLogo(Resume new_resume) { ...
分类:
其他好文 时间:
2015-01-11 12:16:13
阅读次数:
168
需求:实现一个简历类,必须要有姓名,可以设置性别和年龄,可以设置工作经历。最终需要三个简历初步实现:# -*- encoding: utf-8 -*-#简历类class Resume attr_accessor :name, :sex, :age, :time_area, :company ...
分类:
其他好文 时间:
2015-01-07 22:05:14
阅读次数:
247
有三种方法可以使终止线程。 1. 使用退出标志,使线程正常退出,也就是当run方法完成后线程终止。 2. 使用stop方法强行终止线程(这个方法不推荐使用,因为stop和suspend、resume一样,也可能发生不可预料的结果)。已废弃 3. 使用interrupt方法中断线程。如何停止java....
分类:
编程语言 时间:
2015-01-06 21:23:00
阅读次数:
333
原文 http://blog.13kbook.com/2015/01/02/add-resume-type-to-hexo-under-pacman-theme/
背景
虽然暂时不找工作,但是想着简历也是个向别人推销自己的好东西。然后也想着折腾点新的东西,如此,这般,便想着研究起写个简历了。
形式不限,但是必须是在线的,最好是很简洁的。
分析
既然是在线的,那...
分类:
其他好文 时间:
2015-01-03 15:58:21
阅读次数:
372
原文http://blog.13kbook.com/2015/01/02/add-resume-type-to-hexo-under-pacman-theme/背景虽然暂时不找工作,但是想着简历也是个向别人推销自己的好东西。然后也想着折腾点新的东西,如此,这般,便想着研究起写个简历了。形式不限,但是...
分类:
其他好文 时间:
2015-01-03 15:50:23
阅读次数:
309