1. synchronized
If two threads are using the same function( here we use output to print out string) of another instance, if we want to make sure that these two threads are not disturbing each other.
...
分类:
其他好文 时间:
2014-05-15 11:14:14
阅读次数:
389
安装准备,安装依赖包。
yum install gcc
yum install make
yum install openssl-devel
yum install pcre-devel 下载Httpd 2.4.9
http://httpd.apache.org/download.cgi
下载Apr和Apr-util包
http://apr.apache.org/download...
分类:
其他好文 时间:
2014-05-15 06:59:18
阅读次数:
280
FAAC1.28的下载地址:http://www.audiocoding.com/downloads.html
如何编译:
1../configure --host=arm-hisiv100nptl-linux --prefix=/home/ssy/lib
2.make
3.make install
优化
在不修改源码的情况下,faac的内存占用非常高,每路音频在13M左右。如果多路音...
分类:
系统相关 时间:
2014-05-15 06:47:02
阅读次数:
904
Write the code that will take a string and make this conversion given a number of rows:
P A H N
A P L S I I G
Y I R
convert("PAYPALISHIRING", 3) should return "PAHNAPLSIIGYIR"....
分类:
其他好文 时间:
2014-05-15 04:49:04
阅读次数:
311
1、使用新建线程结合handler来更新UI线程中的 ListView,快速点击“刷新”,会出现下面的错误:
??
The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is not mod...
分类:
其他好文 时间:
2014-05-15 02:30:17
阅读次数:
254
Difference Between Mod_Python & Mod_Wsgi |
eHow x YES NO Why not? Thanks for helping us to make eHow better for everyone.
eHow Computers Computer Netw...
分类:
编程语言 时间:
2014-05-15 02:12:12
阅读次数:
390
Description
Businesses like to have memorable telephone numbers. One way to make a telephone number memorable is to have it spell a memorable word or phrase. For example, you can call the Universit...
分类:
其他好文 时间:
2014-05-15 00:20:39
阅读次数:
332
划分树。只是考虑求当前区间大于第k值的值得和,和小于第k值的和。显然可以在查询的时候直接搞出来。sum[d][i]表示第d层子区间l,r种l-i的和。写错了一个下标,检查了半辈子。。。
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#define MP make_...
分类:
其他好文 时间:
2014-05-14 19:31:39
阅读次数:
311
[root@OpenSIPSopensips-1.11.1-tls]#makemenuconfigcdmenuconfig;make;cd..make[1]:Enteringdirectory`/usr/local/opensips-1.11.1-tls/menuconfig‘gcc-g-Wall-DMENUCONFIG_CFG_PATH=\"menuconfig/configs/\"-DMENUCONFIG_GEN_PATH=\"etc/\"-DMENUCONFIG_HAVE_SOURCES=1-c-ocf..
分类:
其他好文 时间:
2014-05-14 16:07:32
阅读次数:
341
1 sbin/nginx -V 查看上次执行时用了哪些参数2
./configure—add-module=../module_name_dir3 make (别用 make install 否则会重新安装)4 把
./objs/nginx 复制到 ../sbin/nginx
分类:
其他好文 时间:
2014-05-14 13:36:38
阅读次数:
247