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 개발자 이야기

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

Tag

호커센터, 싱가포르, 머물고 싶은 디자인, vim, 홈카페, 타임모어, 몬스테라 알보, 더 더치, exec, 테니스화 교체, 오블완, 나이키 버킷햇, 부킷티마, 바투르 캠핑, 티스토리챌린지, 아직 Intro야, 테니스 라켓, 조코비치 우승, 싱가포르 주택, Moderna,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/09   »
일 월 화 수 목 금 토
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.

티스토리툴바