EmbLogic's Blog

Author Archives: ramkeshvats

message queue

Message queue is the inter process technique in which two or more unrelated process can communicate using that queue. In message queue we send a message number associated with particular client/process along with our data and at the server end … Continue reading

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

synchronization techniques

The various synchronization techniques at kernel level are- Semaphore Completions Spinlock in semaphore we use system calls- up and down before entering into critical section the integer semaphore value is decremented by using down and it is incremented using call … Continue reading

Posted in Character Driver | Leave a comment

It is always a good practice to assign a NULL value to a pointer variable in case you do not have exact address to be assigned. This is done at the time of variable declaration. A pointer that is assigned … Continue reading

Posted in Data Structures with C | Leave a comment

how to insert and delete elements in linked list at various position

head 1.1; access; symbols; locks root:1.1; strict; comment @ * @; 1.1 date 2014.03.27.10.47.56; author root; state Exp; branches; next ; desc @@ 1.1 log @Initial revision @ text @#include #include struct node { int data; struct node * next; … Continue reading

Posted in Data Structures with C | Leave a comment

function pointer

we cannot define a function into a structure, but we can define a function pointer in structure.

Posted in Data Structures with C, Uncategorized | Leave a comment

masterarray

masterarray created sucessfully

Posted in Uncategorized | Leave a comment