#include <pthread.h> 1、创建 int pthread_create( pthread_t *tid, const pthread_attr_t *attr, void *(* func) (void *), void *arg ); attr: 线程属性包括:优先级、初始栈大小,是否应该成为一个守护线程。 缺省设置,NULL 后面是线程要执行的函数和参数 成功返回… more →
SealedBlade---尘封血刃yangzhe1990 wrote 2 months ago: 很意外在贡献比例列表中看到一个中国人! zz from http://www.linuxsir.org/bbs/showthread.php?p=2022845 2009年8月,Linux软件基金会发 … more →
yangzhe1990 wrote 4 months ago: 只要是这个样子就可以了.. 命令已经比较难查了. # cat /etc/iproute2/rt_tables # # reserved values # 255 local 254 m … more →
yangzhe1990 wrote 4 months ago: 很cool.跟beryl刚出来时候一样震撼 … more →
nusmql wrote 1 year ago: #include <pthread.h> 1、创建 int pthread_create( pthread_t *tid, const pthread_attr_t *attr, void … more →
nusmql wrote 1 year ago: 1、准备好苹果丽黑字体,推荐蚂蚁修改的LiHei Pro字体,为方便,将其打包存在网盘内。 下载1:Mediafire 下载2:Fileqube 2、将字体放入字体文件夹,这里有个问题,必须要拥有系统 … more →
nusmql wrote 1 year ago: If you can not start SCIM in your ubuntu maybe you can try this method. My system works fine. add a … more →
nusmql wrote 1 year ago: 今天开始学习linux下用C开发多线程程序,Linux系统下的多线程遵循POSIX线程接口,称为pthread。 #include <pthread.h> int pthread_crea … more →
nusmql wrote 1 year ago: 刚才我们编译了 一个简单的hello world,在Windows下面我们习惯了多进程、多线程,但是由于uClinux只是Linux的一个子集,它没有Linux里实现多进程的fork 函数,只有vfo … more →
nusmql wrote 1 year ago: http://www.ohse.de/uwe/software/lrzsz.html … more →
nusmql wrote 1 year ago: 1 Installing OpenOffice 3.0.0 Visit http://www.openoffice.org/ and go to the download section; selec … more →
nusmql wrote 1 year ago: 今天用code block 运行不能compile,提示是g++找不到, 就去search一下问题。在wiki ubuntu里面找到code block的有些compliler的安装方式。 This … more →
nusmql wrote 1 year ago: tips 1: set shared file in you linux, edit the file /etc/exports. you need add the destination folde … more →
nusmql wrote 1 year ago: http://ubuntuforums.org/showthread.php?t=853717 i think you use this command to activate your device … more →
nusmql wrote 1 year ago: After testing in Ubuntu 8.10, I am sure that PL2303 adapter is working fine. So if your driver got p … more →
nusmql wrote 1 year ago: Linux / Unix users To copy a directory with all subdirectories and files use the Linux / Unix cp com … more →
nusmql wrote 1 year ago: You can install alien itself from the Ubuntu Universe repository by adding the repository to your li … more →
xiangyuyu wrote 1 year ago: #fdisk /dev/sda Device Boot Start End Blocks Id System /dev/sda1 * 1 2 16033+ 83 Linux /dev/sda2 3 3 … more →
xiangyuyu wrote 1 year ago: trayer 是fbpanel的一部分 还可以选stalonetray,似乎简单些 Apwal Homepage Apwal Application Launcher for Linux, v0.4. … more →