Computer Network Basics

Computer networks are a form of a data communication system where data refers to information in an agreeable form for parties sharing and using them.What is Data Communication?Data communication itself is an exchange of data between two devices over a medium such as a cable wire. The devices that are part of communication must have … Read more

Win32 Threads

The Win32 threads are implemented in the kernel space of Windows OS. The multi-threaded applications can use the Win32 API library similar to Pthread library.We must include Windows.h header file while using win32 API. In the example program below, similar to Pthread – Sum is shared between threads and is the global variable of type … Read more

Pthreads

Pthreads is the POSIX standard (IEEE 1003.1c) defines an API for thread creation and synchronization. It is only a specification, not implementation which a programmer can do any way they wish.Some examples of systems using are Solaris, Linux, Mac OS X, and True64 UNIX.Here is an example of Pthread API for constructing a multi-threaded program … Read more

Multi-threaded Programming

A thread is a basic unit of CPU utilization; it has a thread id, a program counter, a register set, and a stack. It shares code, data and other os resources such as open files and signals with other threads in the process.Multi-threaded ProcessesThe traditional single-threaded program can do only one task, the multi-threaded process … Read more

Operating System Structure

OS provides the computing environment. They are organized in many ways in different systems, but a few things are common for all OS.In a single user system, the CPU sits idle when I/O is working or vice-versa. The CPU utilization increase with multi programming systems. A subset of jobs from a pool of jobs on … Read more

Computer System Structure

The computer system structure consists of interrupt mechanism for I/O devices, memory unit to run programs, memory protection, and disk storage to save program and data files.Computer-system operationsA modern general purpose computer has CPU and device controllers for devices such as disk, audio devices, and video display devices connected to a common system bus. Each … Read more

OS System Calls

A system call is an interface between the user program and the operating system. The program asks for different services and in response the OS invoke a set of system calls to fulfill the request.What is a system call?A system call is written in either assembly language or a high level such as C, Pascal … Read more

Process Concepts

A process is program in execution in a modern time-sharing computer. A process needs resources such as CPU, memory, and input-output devices. OS is responsible for creating, deleting, and maintaining process information.Understanding ProcessesTherefore, we can safely say the following things about the process: A process is an instance of a program in execution in a … Read more

Operating System Concepts

An operating system is system software that ensures the smooth functioning of a computer system.In earlier days of computing, the only job of a computer was to compile source code into a program. There were programs to do other tasks such as printing, loading source code, etc. These programs are called system programs because they … Read more

VB 6 Variable Declarations

If you have added the forms and controls to the project, the visual basic language will make them work.  The visual basic 6 language is the code or instructions once an event like click happens.In VB 6 language, you must learn the following things. Declare variables, constants, functions and subroutines. Use strings, operators, conditions, loops … Read more

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Exit mobile version