본문 바로가기

Module(모듈) 독립적인 기능을 가지는 프로그램의 구성요소 독립적인 기능을 지니며, 프로그램을 구성하는 소프트웨어어의 부품 더보기
Exception 의 종류 (Trap, Fault, Abort) 1)trap : 현재 명령라인에서 다른 수행루틴을 호출2)fault : 현재 명령라인이 실패하면, 폴트처리루틴(fault handler)을 수행한후, 이전라인으로 복귀3)abort : 현재 명령라인이 실패하면 중지 세그멘테이션 폴트 즉, 다른 프로세스 영역에 쓰기를 시도했다면, 쓰고 나서 죽어서는 안 될것이다. 쓰기 이전상태로 메모리는 보전되어야 하고, 그 후 죽거나 어떤 처리를 수행해야될까? 그래서 Fault 라는 것을 사용한다. 참고로, Fault는 가상메모리(Virtual Memory Management)에서도 사용되는 메커니즘이다.[출처] http://terapi.tistory.com/131 더보기
Program vs Process (프로그램과 프로세스 차이점) program : 일련의 명령 집합process : 실행 중인 일련의 명령 집합 보통program 은 디스켓에 저장된 것을,process 는 메모리에 적재되어 실행 상태에 있는 것을 지칭합니다.[출처] 데몬 ( daemon process ) 와 프로세스 ( process ) ,program 차이 A process is an instance or invocation of a program - you can have for example two processes running the same program at the same time e.g. you can have a calculator program open twice, this is two processes but only one program. So.. 더보기