![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux---应用程序
zwcq82
这个作者很懒,什么都没留下…
展开
-
程序参数处理
最近由于工作需要,需要在linux上实现一个很简单的脚本。这个脚本需要处理几个参数。在最开始的时候,我的做法是使用交互式方法,提示用户输入参数,然后进行处理,类似于: while true input function swtich function:原创 2011-06-24 09:16:00 · 225 阅读 · 0 评论 -
windows 代理环境下使用git协议
公司环境是控制很严,在windows下,使用git可以用http下载,但是不能用git。但是很多软件只提供git访问模式。在网上找到这篇文章:(http://jixiuf.github.com/git/git-proxy-on-windows.html)。 这边文章还包含其他东西,但是我只需要下载代码,而不需要提交,所以就摘取部分,做说明。这些步骤我是在win7下做过实验,完全可以的。原创 2012-10-18 16:13:16 · 1834 阅读 · 0 评论 -
linux下使用indent整理代码
indent是linux下一个能力极强的代码整理软件,使用他,可以轻松的写出代码风格十分精良的代码。 但是indent的参数太多,使用起来不是很容易,怎么办呢? 查看 /usr/src/linux-headers-/scripts/Lindent 文件 ,可以看到一行代码: indent -npro -kr -i8 -ts8 -sob -l80 -ss -ncs -cp1转载 2012-11-09 09:17:58 · 276 阅读 · 0 评论 -
AIOUserGuide
Introduction The Asynchronous Input/Output (AIO) interface allows many I/O requests to be submitted in parallel without the overhead of a thread per request. The purpose of this document is to explai转载 2012-12-18 15:04:11 · 355 阅读 · 0 评论 -
openMP/MPI
近期要了解这方面的内容 1:集群中的消息系统的设计问题 a:高性能 b:易用原创 2013-03-31 09:52:53 · 118 阅读 · 0 评论 -
How do gcc to optimize?
Think the following code: struct node{ char name[100]; int *p ; }; main() { struct mode test[4]; int i = 0; //case 1 for ( ; i {static int name; t原创 2013-05-15 13:58:08 · 221 阅读 · 0 评论 -
查看c/++ 文件的依赖关键
项目太多,开始不熟悉想了解文件的依赖关系或者是C++类的依赖关系原创 2014-11-06 16:17:38 · 233 阅读 · 0 评论 -
pthread_cond_wait
考虑下面两种情况: Example 1 thread 1: pthread_mutex_lock(&mutex); while (!condition) pthread_cond_wait(&cond, &mutex); /* do something that requires holding the mutex and conditi原创 2014-12-25 10:22:52 · 165 阅读 · 1 评论