os202

OS202


Project maintained by destarass Hosted on GitHub Pages — Theme by mattgraham

HOME


Top 10 List of Week 06

  1. C library function - strncpy()
    Pada artikel ini dibahas mengenai bagaimana kegunaan dari fungsi strncpy() pada bahasa pemrograman C dan dijelaskan juga parameter yang diperlukan. dan tentunya disertai contoh yang akan menambah pemahaman kita.

  2. Operating System: Threads and Concurrency
    Sebuah Thread juga disebut proses ringan, adalah penggunaan CPU dasar; itu mengkompromikan ID utas, penghitung program, satu set register, dan tumpukan. Utas adalah entitas dalam proses yang dapat dijadwalkan untuk dieksekusi.

  3. Process States
    The process, from its creation to completion, passes through various states. The minimum number of states is five. The names of the states are not standardized although the process may be in one of the following states during execution. Operations on the Process : ——Creation Once the process is created, it will be ready and come into the ready queue (main memory) and will be ready for the execution. ——Scheduling Out of the many processes present in the ready queue, the Operating system chooses one process and start executing it. Selecting the process which is to be executed next, is known as scheduling. ——Execution Once the process is scheduled for the execution, the processor starts executing it. Process may come to the blocked or wait state during the execution then in that case the processor starts executing the other processes. ——Deletion/killing Once the purpose of the process gets over then the OS will kill the process. The Context of the process (PCB) will be deleted and the process gets terminated by the Operating system.

  4. Inter-process communication in Linux: Shared storage
    Ini artikel menjelaskan tentang interprocess communication (IPC) in Linux. Seri ini menggunakan contoh kode di C untuk memperjelas mekanisme IPC berikut: -Shared files -Shared memory (with semaphores) -Pipes (named and unnamed) -Message queues -Sockets -Signals This article reviews some core concepts before moving on to the first two of these mechanisms: shared files and shared memory.

  5. Jenis Thread dan Model Multithreading
    Terdapat dua jenis thread, yaitu: Single thread dan multi thread. —Single thread merupakan process hanya mengeksekusi satu thread saja pada satu waktu —Multi thread merupakan process dapat mengeksekusi sejumlah thread dalam satu waktu

Pada artikel ini menjelaskan masing - masing thread ini lebih detail

  1. What is a Makefile and how does it work?
    Pada artike ini membantu saya cara makefile di linux dengan step by step. Ini juga memberi saya ilmu baru yang belum pernah diajarkan saat KBM.

  2. fork() in C
    Fork system call is used for creating a new process, which is called child process, which runs concurrently with the process that makes the fork() call (parent process). After a new child process is created, both processes will execute the next instruction following the fork() system call. A child process uses the same pc(program counter), same CPU registers, same open files which use in the parent process.

  3. execlp(3) — Linux manual page
    The exec() family of functions replaces the current process image with a new process image. The functions described in this manual page are layered on top of execve(2). (See the manual page for execve(2) for further details about the replacement of the current process image.)

  4. Intro to C Programming - File I/O
    Pada video ini dijelaskan mengenai konsep dasar dalam membuat file pada bahasa pemrograman C untuk input dan output file secara sequential.

  5. User Level and Kernel Level Threads
    Pada video ini membahas mengenai perbedaan antara User threads dengan Kernel threads pada perating system. dilengkapi juga dengan animasi yang memudahkan pemahaman kita.