The Story of Jay

  • 홈
  • 태그
  • 방명록

exec 2

exec() System call concept

exec(): When an exec() system call is invoked, the program specified in the parameter to exec() will replace the entire process - including all threads. exec 를 사용하게 되면 기존에 사용하던 process 를 대체하게 되서 exec_2 를 실행하게 되고 다시 기존 exec process로 돌아가서 실행을 하지 않는다. 따라서 마지막 10번째 come back to exec process 는 프린트 되지 않는다.

Software/Embedded system 2021.06.27

fork() system call concept

fork() : Create new process, Clone current process // system call ->Have exactly the same stack (sequence of function calls) ->Have same virtual memory ( so pointer and other data is preserved) ->No argument ->Return process Id of the child process -> After creation of the process both parent and child process starts execution from next the instruction fork() > 0 //Successful fork() < 0 // Error..

Software/Embedded system 2021.06.27
1
더보기
프로필사진

운동, 여행, 영어, 코딩 정리가 필요한 IT 개발자 이야기

  • 분류 전체보기 (207)
    • STUDY (13)
      • ENGLISH (13)
    • Software (26)
      • Embedded system (15)
      • Dev Tools (8)
      • Arduino 아두이노 (3)
      • Colab_Python (0)
    • 이야기 (142)
      • 일상다반사 (23)
      • 쇼핑리스트_ShoppingList (19)
      • 책 Book (18)
      • 영화 & 드라마 (4)
      • 선인장_식물 (5)
      • 야구 (15)
      • 테니스 (26)
      • 디자인_그림_좋아 (6)
      • 골프 (4)
      • 커피 (8)
      • 물생활 (7)
      • 여행 (7)
    • 싱가포르 생활 (26)

Tag

싱가포르 주택, 호커센터, exec, AI 세상이 온다, Moderna, vim, 나이키 버킷햇, 타임모어, 테니스 라켓, 온라인 평준화, 테니스화 교체, 바투르 캠핑, 2025 야구 우승, 몬스테라 알보, 홈카페, 싱가포르, 티스토리챌린지, 조코비치 우승, 오블완, 부킷티마,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/11   »
일 월 화 수 목 금 토
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바