Chinaunix首页 | 论坛 | 博客
  • 博客访问: 569820
  • 博文数量: 141
  • 博客积分: 3425
  • 博客等级: 中校
  • 技术积分: 1609
  • 用 户 组: 普通用户
  • 注册时间: 2007-03-23 15:55
文章分类

全部博文(141)

文章存档

2019年(5)

2011年(19)

2010年(36)

2009年(13)

2008年(50)

2007年(18)

发布时间:2019-04-02 20:27:26

最近再查一个代码的问题,问题现象是所有操作系统的soft timer的回调函数均失效了,没有任何被调用的迹象。操作系统的其他任务仍运行正常。操作系统使用的是ucosii,在分析ucosii的soft timer实现代码时发现ucosii在soft timer实现的一个提高运行效率的技巧。ucosii的soft timer工作流程如下:soft timer在ucosii系统.........【阅读全文】

阅读(337) | 评论(0) | 转发(0)

发布时间:2019-04-02 19:55:23

摘自维基百科preorder(node) if (node == null) return visit(node) preorder(node.left) preorder(node.right)iterativePreorder(node) if (node == null) return s <-- empty stack s.push(node) while (not s.isEmpty()) node <-- s.pop() visit(node) // right child is pushed first so that left .........【阅读全文】

阅读(327) | 评论(0) | 转发(0)

发布时间:2019-03-30 17:48:05

shell下生成cscope文件find . -name "*.[ch]" > cscope.filescscope -bk -i cscope.files或者cscope -Rbqgvim cscope Keybindings:nmap s :cs find s =expand("")nmap g :cs find g =expand("")nmap c :cs find c =expand("")nmap t :cs find t =expand("")nmap e :cs find e =expand("")nmap f :cs find f .........【阅读全文】

阅读(700) | 评论(0) | 转发(1)

发布时间:2019-03-30 17:08:06

-----------------------------------------------bash参数处理#!/bin/bash -fargc=("$#")#echo $argcif  [ $argc -ne 2 ]; then    echo "Usage: mkimg.sh com in_file"    exitficom=$1binname=$2-----------------------------------------------cshell参数处理#!/bin/csh -f.........【阅读全文】

阅读(1147) | 评论(0) | 转发(0)

发布时间:2019-03-30 16:55:49

如题,之前因为种种原因,荒废了博客的记录。现在重新开始,希望能够坚持,加油!!......【阅读全文】

阅读(355) | 评论(1) | 转发(0)
给主人留下些什么吧!~~

chinaunix网友2009-05-09 13:45

不错

回复 |  删除 |  举报

chinaunix网友2009-04-18 19:03

谢谢咯!o(∩_∩)o

回复 |  删除 |  举报
留言热议
请登录后留言。

登录 注册