自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

stevenliyong 的专栏

Believe[Dot]Make

  • 博客(10)
  • 收藏
  • 关注

原创 Use ALSA lib apis to set the Mic Capture Volume

 下面这个函数的作用相当与 调用ALSA utility amixer 设置 Mic Capture Volume。 #amixer cset name="Mic Capture Volume" 10 #include static char card[64] = "default";BOOL CXXXSoundDevice::SetMicCaptureVolume(U

2009-07-23 20:43:00 2495

原创 Use core dump and gdb to trace a segmentaion fault

如何生成core dump文件?通常情况下 使用设置系统环境ulimit -c unlimited使用这种方法core文件生成的位置一般于运行程序的路径相同, 文件名一般为core.进程号  如何使用core dump文件gdb [option] [executable-file [core-file or process-id]] 比如我要看xxx进程 的core d

2009-07-22 17:02:00 1622

原创 pthread_cond_wait() 函数的使用

1. 首先pthread_cond_wait 的定义是这样的 The pthread_cond_wait() and pthread_cond_timedwait() functions are used to block on a condition variable. They are called with mutex locked by the calling thread or

2009-07-20 16:14:00 5658

转载 POSIX 线程取消点的 Linux 实现

原文链接:http://blog.solrex.cn/articles/linux-implementation-of-posix-thread-cancellation-points.html摘要:这篇文章主要从一个 Linux 下一个 pthread_cancel 函数引起的多线程死锁小例子出发来说明 Linux 系统对 POSIX 线程取消点的实现方式,以及如何避免因此产生的线程

2009-07-20 16:02:00 3808 3

转载 使用 pthread_testcancel 作为pthread_cancel 时 线程的退出点函数

 pthread_testcancel()--Create Cancellation PointSyntax #include void pthread_testcancel(void);Threadsafe: YesSignal Safe: NoThe pthread_testcancel() function creates a ca

2009-07-20 15:51:00 9397 1

原创 Android Donut 系统烧写到开发板,脱离NFS启动

1. Android 系统分区结构     partition |   size   |   fs   |    -----------+----------+--------+---------------------------------    mtdblk0p1  |    8MiB  |  none  | bootloader    mtdcblk0p2  |   16MiB  | 

2009-07-14 10:24:00 2385 1

原创 Android 启动init.rc 中mount 分区

1.init.rc脚本中的mount不是linux shell命令,它的格式由init解释,具体参见 system/core/init/builtins.c 2.如果要在android启动过程中mount一个可读可写ext3分区 可以这样 mount ext3 /dev/block/mmcblk0p8 /mnt/AppData rw

2009-07-14 10:19:00 9732 1

原创 Android Log 机制

Android 中 log 的输出。 1.Log.v(String tag, String msg);        //VERBOSELog.d(String tag, String msg);       //DEBUGLog.i(String tag, String msg);        //INFOLog.w(String tag, String msg);  

2009-07-07 17:09:00 6388

转载 Android 上使用 busybox

Android porting 到板子上去了,但是很多功命令没有。  下面转自http://emck.avaw.com/?tag=busybox Android所提供的命令行工具是非常有限的, 想要使用更多和熟悉的工具,那么让Busybox来帮助你把!下载 Busybox使用非常简单# mkdir /data/busybox, on your G1 term

2009-07-06 17:11:00 4630

原创 Android Bluetooth Architecture

Android Bluetooth Architecture http://www.slideshare.net/erinyueh/android-bluetooth-introduction   

2009-07-06 09:21:00 2397 4

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除