/
-
-
linux 2.6 mutex patch APIsrc/linux 2008. 4. 10. 10:32
1. semaphore locking API 인 up/down 을 mutex 에 쓰자는 의견이 나옴. http://article.gmane.org/gmane.linux.kernel/357889 The vast majority of ups and downs are actually mutex related not semaphore related, so by majority share, up/down perhaps ought to be repurposed to mutexes: they _are_ the preeminent uses. mutex 가 더 많이 쓰인다. 2. 알란콕스 - 새로 만들어 써라. http://thread.gmane.org/gmane.linux.kernel/357216 you need to..
-
sedbin/script 2008. 3. 19. 14:37
sed wiki http://en.wikipedia.org/wiki/Sed sed 예제 http://sed.sourceforge.net/sed1line.txt sed 기초 http://www.ibm.com/developerworks/kr/library/l-sed1.html sed 한글 http://rhdxmr.tistory.com/59 sed kgun http://korea.gnu.org/manual/release/sed/x110.html sed: sequentil stream 을 처리 sed (Stream EDitor) refers to a Unix utility for parsing text files and the programming language it uses to apply textual t..
-
화두home/jai 2008. 3. 12. 11:47
생활이 힘들다고. 그럴 수 밖에 없다고. 난 여기에 만족해. 라고 말하는데 정말 그럴 수 밖에 없는걸까? 정말로? 조금더 욕심내거나 조금더 노력하는 방법이 정말 없는 걸까? 조금만 효율적으로 돈과 시간을 사용하면. 조금만 자기가 노력하면 가능할 것도 같은데 아무것도 안해. 그리고 자기는 여기에 만족한데. 그럼 난 묻고 싶어지느니 거지. 정말정말정말? 근데. 거기에 그럼 어쩌겠어. 이런 질문이 대답대신 돌아오기도 해. 그럼 다시 그질문을 하고 싶어지는 거야. "정말 어쩔 수 없는 거야? 정말로 어쩔 수 없을까?" 하지만 본인이 찬찬히 생각하고 조금 노력할 마음 갖고, 조금 더 욕심 부리면. 아주 약간이라도 삶이 변할 여지는 충분히 있다고 생각해.안하다보면 그것도 타성이 되어버려. 아무것도 안하는거. 그냥 ..
-
makebin/Linux 2008. 3. 6. 14:06
한글 http://www.viper.pe.kr/docs/make-ko/make-ko_toc.html 영어 http://www.gnu.org/software/make/manual/make.html two flavors of variables = 재귀적 확장매크로(recursively expanded) 장점: recursive 확장, 정의가 뒤에 있어도 됨. CFLAGS = $(include_dirs) -O include_dirs = -Ifoo -Ibar 단점: 자기 자신을 assign 못함 CFLAGS = $(CFLAGS) -O make 무한루프 에러 := 단순확장매크로(simply expanded) 장점: shell 함수와 := 를 결합해서 사용할 때 유용, 딱 한번 확장되고 끝 ifeq (0,${MAK..