Fork is an operation whereby a process creates a copy of itself. It is usually a system call, implemented in the kernel. Fork is the primary (and historically, only) method of process creation on Unix-like operation. In multitasking operating systems, … Continue reading
#here i write in the 1 quantum of the scull and by this i am able to write in the kernel layer…. RCS file: application.c,v Working file: application.c head: 1.7 branch: locks: strict access list: symbolic names: keyword substitution: kv … Continue reading
description: a program of signal —————————- revision 1.1 date: 2014/05/18 06:45:26; author: root; state: Exp; Initial revision =============================================================================
description: semaphore program for a ============================================================================= RCS file: sema4c,v Working file: sema4c head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 0 description: semaphore using semget ,semctl,semop =============================================================================
Open the terminal First you log in as a super user $ su $ password: ******* After you log in as a super user, download these packages given below. yum install arduino yum install java-1.7.0-openjdk After running these two commands … Continue reading
head 1.1; access; symbols; locks root:1.1; strict; comment @ * @; 1.1 date 2014.05.17.07.43.53; author root; state Exp; branches; next ; desc @the program of semafore . @ 1.1 log @Initial revision @ text @#include<stdio.h> #include<linux/sem.h> #include<stdlib.h> int main() { … Continue reading
description: this progra is three client and three processing with pipe using —————————- revision 1.1 date: 2014/05/17 07:12:46; author: root; state: Exp; Initial revision =============================================================================
head 1.2; access; symbols; locks root:1.2; strict; comment @ * @; 1.2 date 2014.05.15.11.19.59; author root; state Exp; branches; next 1.1; 1.1 date 2014.05.14.09.42.00; author root; state Exp; branches; next ; desc @server iof fifo is. @ 1.2 log @*** … Continue reading
description: this progra is three client and three processing with pipe using —————————- revision 1.1 date: 2014/05/17 07:12:46; author: root; state: Exp; Initial revision =============================================================================
1.mknod Syntax int mknod(const char *pathname, mode_t mode, dev_t dev); where pathname corresponds to the fifo name, mode corresponds to the file permissions. Since mknod can be used to create a regular file, block or charcter special files and fifo. … Continue reading
Signals are one of the oldest inter-process communication methods used by Unix TM systems. They are used to signal asynchronous events to one or more processes. A signal could be generated by a keyboard interrupt or an error condition such … Continue reading
IPC:Semaphores Semaphores are a programming construct designed by E. W. Dijkstra in the late 1960s. Dijkstra’s model was the operation of railroads: consider a stretch of railroad in which there is a single track over which only one train at … Continue reading
#register using the alloc_chrdev_region and unregister using the unregister_chrdev_region and then define the struct Sculldev and allocate the memory for it and then pointing the address of kmalloc with this struct type pointer.. RCS file: cleanup.c,v Working file: cleanup.c head: … Continue reading
ead 1.1; access; symbols; locks root:1.1; strict; comment @ * @; 1.1 date 2014.05.14.23.41.10; author root; state Exp; branches; next ; desc @semaphore with semget,semctl,semop. @ 1.1 log @Initial revision @ text @#include<stdio.h> #include<linux/sem.h> #include<stdlib.h> int main() { int i,aa,aaa; … Continue reading
RCS file: user1.c,v Working file: user1.c head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: this is mainly a chat box btween two users ,a full duplexer one … Continue reading