进程/线程控制: 创建 退出 等待 多进程 fork() exit() wait()
多线程pthread_createpthread_exit()pthread_join()线程的同步与互斥:线程的互斥...
分类:
编程语言 时间:
2014-05-26 23:46:42
阅读次数:
318
编号需要修改的代码1//// Prefix header//// The contents
of this file are implicitly included at the beginning of every source
file.//#import//服务器IP#define kXMPP...
分类:
移动开发 时间:
2014-05-26 14:51:52
阅读次数:
782
shell中执行sh文件时需要开子进程,因此export的环境变量在子进程中,若想要sh中定义的脚本生效,使用source命令,并且可以被子进程继承。而子进程export的内容父进程获取不到
分类:
其他好文 时间:
2014-05-26 13:51:41
阅读次数:
226
1
SystemServer分析SystemServer的进程名就是前面所说的“system_server”,是zygote进程“app_process”fork出来的第一个子嗣,其重要性不言而喻。下面我们简称其为SS。1.1
SS的诞生先回顾一下SS是如何创建的:/*在zygoteinit.jav...
分类:
其他好文 时间:
2014-05-26 13:37:58
阅读次数:
375
yum install gcc pcre-devel zlib-devel
openssl-develwget http://nginx.org/download/nginx-1.6.0.tar.gz./configure
--with-http_stub_status_module --with-...
分类:
其他好文 时间:
2014-05-26 07:58:20
阅读次数:
253
介绍一个list滑动时通过一个text提示Array首字母位置的应用
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file exce...
分类:
其他好文 时间:
2014-05-23 00:58:42
阅读次数:
326
介绍一个多选list
/*
* Copyright (C) 2008 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with th...
分类:
其他好文 时间:
2014-05-23 00:52:57
阅读次数:
455
介绍在在title bar上显示indeterminate progress
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file ...
分类:
其他好文 时间:
2014-05-23 00:31:27
阅读次数:
352
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Yo...
分类:
其他好文 时间:
2014-05-23 00:30:50
阅读次数:
415
ubuntu14.04安装成功后,平时的工作什么的都够用了,最近需要做一个测试,测试环境还必须是windows的。所以就准备整个虚拟机来,kvm跟vmware考虑再三,选择了vmware。vmware10的安装方法,就不做说明了。度娘或谷哥还是有蛮多方法。我这里所写的是,vmware安装后,启动时报错。..
分类:
其他好文 时间:
2014-05-22 18:16:05
阅读次数:
551