EmbLogic's Blog

Category Archives: Uncategorized

About fork()

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

Posted in Uncategorized | Leave a comment

Character Driver(Writing data in the 1 quantum)

#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

Posted in Uncategorized | Leave a comment

signal

description: a program of signal —————————- revision 1.1 date: 2014/05/18 06:45:26; author: root; state: Exp; Initial revision =============================================================================

Posted in Uncategorized | Leave a comment

semaphore

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 =============================================================================

Posted in Uncategorized | Leave a comment

Installing Arduino IDE in Fedora OS

 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

Posted in Uncategorized | Leave a comment

program for semaphore

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

Posted in Uncategorized | Leave a comment

multiple client using pipes

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 =============================================================================

Posted in Uncategorized | Leave a comment

fifo server for three reqclient and three prosessing client program using three fifo

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

Posted in Uncategorized | Leave a comment

this program has three client using pipes

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 =============================================================================

Posted in Uncategorized | Leave a comment

diffrence between mknod and mkfifo

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

Posted in Uncategorized | Leave a comment

siganals

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

Posted in Uncategorized | Leave a comment

about samphore

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

Posted in Uncategorized | Leave a comment

Character Driver.

#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

Posted in Uncategorized | Leave a comment

semaphore

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

Posted in Uncategorized | Leave a comment

A Chat BOx (full duplexer)

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

Posted in Uncategorized | Leave a comment