EmbLogic's Blog

Author Archives: gagan7230

Thread concept

Thread operations include thread creation, termination, synchronization (joins,blocking), scheduling, data management and process interaction. A thread does not maintain a list of created threads, nor does it know the thread that created it. All threads within a process share the … Continue reading

Posted in Project 04: FTP based Client Server using Threads and Sockets | Leave a comment

Threads

The POSIX thread libraries are a standards based thread API for C/C++. It allows one to spawn a new concurrent process flow. It is most effective on multi-processor or multi-core systems where the process flow can be scheduled to run … Continue reading

Posted in Project 04: FTP based Client Server using Threads and Sockets | Leave a comment

shell

A Unix shell is a command-line interpreter or shell that provides a traditional user interface for the Unix operating system and for Unix-like systems. Users direct the operation of the computer by entering commands as text for a command line … Continue reading

Posted in Project 9: Embedded Linux on ARM | Leave a comment

bash

Bash is a Unix shell written by Brian Fox for the GNU Project as a free software replacement for the Bourne shell (sh).[3][4] Released in 1989,[5] it has been distributed widely as the shell for the GNU operating system and … Continue reading

Posted in Project 9: Embedded Linux on ARM | Leave a comment

Initialising the Message Queue

The msgget() function initializes a new message queue: int msgget(key_t key, int msgflg) It can also return the message queue ID (msqid) of the queue corresponding to the key argument. The value passed as the msgflg argument must be an … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC | Leave a comment

ipc using fifo

RCS file: fifoserver.c,v 3 Working file: fifoserver.c 4 head: 1.4 5 branch: 6 locks: strict 7         root: 1.4 8 access list: 9 symbolic names: 10 keyword substitution: kv 11 total revisions: 4;     selected revisions: 4 12 description: 13 client1 had … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC | Leave a comment

ipc using fifo

2 RCS file: fifoserver.c,v 3 Working file: fifoserver.c 4 head: 1.3 5 branch: 6 locks: strict 7 access list: 8 symbolic names: 9 keyword substitution: kv 10 total revisions: 3;     selected revisions: 3 11 description: 12 client1 had open the … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC | Leave a comment

FIFO

A FIFO special file (a named pipe) is similar to a pipe, except that it is accessed as part of the filesystem. It can be opened by multiple processes for reading or writing. When processes are exchanging data via the … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC | Leave a comment

RCS

The RCS Revision Control System manages modifications to individual files. Files can be locked while checked out for change by a programmer to protect against poor coordination and comunications. Comparison with previous versions of the file and access to previous … Continue reading

Posted in Embedded Linux | Leave a comment

DHCP server

The Dynamic Host Configuration Protocol is used by computers for requesting Internet Protocol parameters, such as an IP address from a network server. The protocol operates based on the client-server model. DHCP is very common in all modern networks[1] ranging … Continue reading

Posted in Project 00: Linux System / Network Administration | Leave a comment

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 a … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC | Leave a comment

bitfield

2 RCS file: bitfield.c,v 3 Working file: bitfield.c 4 head: 1.1 5 branch: 6 locks: strict 7         root: 1.1 8 access list: 9 symbolic names: 10 keyword substitution: kv 11 total revisions: 1;     selected revisions: 1 12 description: 13 bits … Continue reading

Posted in Data Structures with C | Leave a comment

ipc prjct with one process

1 2 RCS file: server.c,v 3 Working file: server.c 4 head: 1.1 5 branch: 6 locks: strict 7         root: 1.1 8 access list: 9 symbolic names: 10 keyword substitution: kv 11 total revisions: 1;     selected revisions: 1 12 description: 13 … Continue reading

Posted in Uncategorized | Leave a comment

pipes

implemented interprocess communication using pipes.

Posted in Uncategorized | Leave a comment

linklist

I have used malloc function in linklist for allocating dynamic memory to the pointers.In linklist nodes are at random locations.

Posted in Uncategorized | Leave a comment