自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 资源 (1)
  • 收藏
  • 关注

转载 current shell & subshell & separate invocations

1. "current shell"Commands enclosed in {} are executed in the current shell. There must be whitespace after the opening {, or else you get a syntax error. One more restriction: commands within the {}

2010-09-30 11:46:00 1075 2

转载 pthread_cond_broadcast() and pthread_cond_signal()

The pthread_cond_broadcast() and pthread_cond_signal() functions shall have no effect if there are no threads currently blocked on cond.If no thread is blocked on the condition, the subroutine succe

2010-09-14 17:56:00 1114

原创 为什么进程组的leader不允许调用setsid()?

--调用setsid()的进程将成为一个新的进程组的组长--如果允许一个进程组长调用setsid()的话,那这个人将成为两个组的组长..--再说,进程组长的定义是“其进程ID=进程组ID”,如果某个进程是两个组的组长,那么这两个组的进程组ID是相同的??

2010-09-13 09:53:00 1126

原创 为什么sigsuspend要与sigprocmask配合使用?

apue示例代码:sigemptyset(&new_mask);sigemptyset(&zero_mask);      // 清空信号集zero_masksigaddset(&new_mask, SIGQUIT);sigprocmask(SIG_BLOCK, &new_mask, &old_mask);   // 阻塞SIGQUITwhile( quitflag == 0

2010-09-13 09:40:00 2399

转载 同步锁--摘自《unix网络编程》第二卷

关于互斥:When a mutex is shared between processes, there is always a chance that the process can terminate (perhaps involuntarily) while holding the mutex lock. There is no way to have the system automati

2010-09-11 16:49:00 599

转载 同步锁--摘自《unix网络编程》第二卷

互斥锁 同步锁 自动清理 Posix信号灯 fcntl记录锁

2010-09-11 13:52:00 635

The Korn Shell: Unix and Linux Programming Manual, Third Edition

适合系统学习shell编程,属于武功中的内功心诀。 英文版,480页,chm格式,支持搜索,大小442k。 虽然针对korn shell编写,同样适合其它shell的学习,基本思想以及部分语法都是相通的。 目录结构: Chapter 1. Introduction Chapter 2. Korn Shell Basics Chapter 3. Variables and Parameters Chapter 4. Editing Commands Chapter 5. Job Control Chapter 6. Performing Arithmetic Chapter 7. The Environment Chapter 8. Writing Korn Shell Scripts Chapter 9. Miscellaneous Commands Appendix A. Sample .profile File Appendix B. Sample Environment File Appendix C. C Shell Functionality Appendix D. Sample Korn Shell Scripts Appendix E. Korn Shell Man Page Appendix F. Pdksh Appendix G. Pdksh Quick Reference Appendix H. Pdksh Man Page Examples

2012-04-14

空空如也

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

TA关注的人

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