Pthread创建线程后必须使用join或detach释放线程资源
2009-12-26 14:22:09
查看原文
这两天在看Pthread 资料的时候,无意中看到这样一句话(man pthread_detach):
Either pthread_join(3) or pthread_detach() should be called for each thread
that an application creates, so that syste...
Sleeping in a .BAT script
2009-12-14 04:55:09
查看原文
这里有列了两个方法:
1. Ping 实现
@ECHO OFF
rem –#——————————————————————
rem –# Script : sleep.BAT
rem –# Tested : Microsoft Windos XP [Version 5.1.2600]
rem –#...
Google发布免费DNS解析服务
2009-12-04 03:25:52
查看原文
本文来自: Solidot.
Google宣布 推出免费的DNS解析服务Google Public DNS。
DNS协议是Web的重要组成部分,它就如同是互联网的“电话簿”。每次访问一个网站,计算机都须执行一次DNS查询。复杂的网页在载入之前需执行多次DNS...
vim 快速查找
2009-12-03 07:17:03
查看原文
在用vim的时候要经常搜索,但是有的时候会忘记*和 # 这两个快捷键,所以记录如下
在通常模式下:
/ 向下查找
? 向上查找
* 向下查找当前光标下的单词
# 向上查找当前光标下的单词.
f{char} 跳到当前行,当前位置右边的{ch...
安装tftp,ftp,samba,nfs
2009-11-24 09:13:27
查看原文
tftp,ftp和nfs是在嵌入式linux开发环境中经常要用到的传输工具,samba则是在linux和windows下的文件传输工具。
## 一. tftp安装
1.安装
sudo apt-get install tftpd tftp openbsd-inetd
2.建立tftp主目录
其...
安装tftp,ftp,samba,nfs
2009-11-24 09:13:27
查看原文
tftp,ftp和nfs是在嵌入式linux开发环境中经常要用到的传输工具,samba则是在linux和windows下的文件传输工具。
## 一. tftp安装
1.安装
sudo apt-get install tftpd tftp openbsd-inetd
2.建立tftp主目录
其...
安装tftp,ftp,samba,nfs
2009-11-24 09:13:27
查看原文
tftp,ftp和nfs是在嵌入式linux开发环境中经常要用到的传输工具,samba则是在linux和windows下的文件传输工具。
## 一. tftp安装
1.安装
sudo apt-get install tftpd tftp openbsd-inetd
2.建立tftp主目录
其...
[Kernel] Debian-ubuntu-kernel-install
2009-11-18 03:13:56
查看原文
第一步 安装必要的工具
首先要安装必要的包。
包有:libncurses5-dev(menuconfig需要的)和essential
sudo apt-get install build-essential kernel-package
sudo apt-get install make
sudo apt-get install g...
Weekly Tweets for 2009-11-15
2009-11-15 22:59:00
查看原文
* Microsoft Patents Sudo?!! http://bit.ly/4CcgrQ #
* name.com Renewal promo code “CURIE” http://bit.ly/3t0eDE #
Powered by Twitter Tools
Weekly Tweets for 2009-11-15
2009-11-15 14:59:00
查看原文
* Microsoft Patents Sudo?!! http://bit.ly/4CcgrQ #
* name.com Renewal promo code “CURIE” http://bit.ly/3t0eDE #
Powered by Twitter Tools