- 博客(11)
- 资源 (2)
- 收藏
- 关注
转载 硬中断与软中断的区别
硬中断:1. 硬中断是由硬件产生的,比如,像磁盘,网卡,键盘,时钟等。每个设备或设备集都有它自己的IRQ(中断请求)。基于IRQ,CPU可以将相应的请求分发到对应的硬件驱动上(注:硬件驱动通常是内核中的一个子程序,而不是一个独立的进程)。2. 处理中断的驱动是需要运行在CPU上的,因此,当中断产生的时候,CPU会中断当前正在运行的任务,来处理中断。在有多核心的系统上,一个中
2014-09-24 16:50:38 732
原创 windows与linux相互telnet/ssh
唉,windows主机想telnet到Linux上,搞了好一会,各种问题,不过,生命在于折腾嘛
2014-09-23 18:00:39 3203
转载 fork()、 vfork()、 clone()的区别
原文地址:http://blog.chinaunix.net/uid-27164517-id-3281349.html
2014-09-21 21:28:50 762
原创 Leetcode Unique Paths II
题目:Follow up for "Unique Paths":Now consider if some obstacles are added to the grids. How many unique paths would there be?An obstacle and empty space is marked as 1 and 0 respectively
2014-09-20 16:40:08 649
原创 Leetcode Trapping Rain Water
题目:Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.For example, Given [0,1,0,2,1,0,1,3
2014-09-20 13:16:59 559
原创 Linux 不同网段两台主机相互ping通
刚搭的虚拟机无法Ping通某个ip,分属于不同网段比如:10.11.12.202 ping 10.11.13.102ssh到10.11.12.202中,route -n查看路由表项,发现没有默认路由:Destination Gateway Genmask Flags Metric Ref Use Iface10.11.12.0
2014-09-18 13:28:46 17473 4
原创 Leetcode LRU Cache
题目:Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set.get(key) - Get the value (will always be positive) of th
2014-09-18 13:24:14 626
chat_vinllen
2014-11-18
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人