Interrupt: In system programming, an interrupt is a signal to the processor emitted by hardware or software indicating an event that needs immediate attention.
Trap: In computing and operating systems, a trap, also known as an exception or a fault, is typically a type of synchronous interrupt caused by an exceptional condition (e.g., breakpoint, division by zero, invalid memory access).
Signal: A signal is a software-generated interrupt that is sent to a process by the OS because when the user press ctrl-c or another process tells something to this process. There is fix set of signals that can be sent to a process. Signals are identified by integers. A signal number has symbolic names.
System call: The interface between a process and an operating system is provided by system calls. System calls are usually made when a process in user mode requires access to a resource. Then it requests the kernel to provide the resource via a system call.
Types of System calls:
- Process control.
- File management.
- Device management.
- Information maintenance.
- Communications.
Fork system call: Fork system call is used for creates a new process, which is called the child process
Exec: In computing, exec is a functionality of an operating system that runs an executable file in the context of an already existing process, replacing the previous executable. This act is also referred to as an overlay.
Wait: The system call wait () is easy. This function blocks the calling process until one of its child processes exits or a signal is received.
Exit: exit (system call): On many computer operating systems, a computer process terminates its execution by making an exit system call.
Thread: Thread is a single sequence stream within a process. Threads have the same properties as the process so they are called lightweight processes
Multicore programming: Multicore programming helps you create concurrent systems for deployment on multicore processors and multiprocessor systems. A multi-core processor system is a single processor with multiple execution cores in one chip. By contrast, a multiprocessor system has multiple processors on the motherboard or chip.
CPU scheduling: The aim of CPU scheduling is to make the system efficient, fast, and fair.
Process synchronization: Process Synchronization means sharing system resources by processes.
Semaphore: In computer science, a semaphore is a variable or abstract data type used to control access to a common resource by multiple processes in a concurrent system such as a multitasking operating system.
Deadlock: A deadlock is a situation in which two computer programs sharing the same resource are effectively preventing each other from accessing the resource,
MVT: MVT (Multiprogramming with a Variable number of Tasks) is the memory management technique in which each job gets just the amount of memory it needs. That is, the partitioning of memory is dynamic and changes as jobs enter and leave the system
MFT: MFT (Multiprogramming with a fixed number of Tasks) is one of the old memory management techniques in which the memory is partitioned into fixed-size partitions and each job is assigned to a partition. The memory assigned to a partition does not change.
Inter-process communication: Inter-process communication (IPC) is a set of programming interfaces that allow a programmer to coordinate activities among different program processes that can run concurrently in an operating system.
Multithreading: Multithreading is the ability of an operating system process to manage its use by more than one user at a time and to even manage multiple requests.
Contagious Memory Allocation: In contiguous memory allocation, when a process requests for the memory, a single contiguous section of a memory block is assigned to the process according to its requirement.
Critical section:
Comments
Post a Comment