EmbLogic's Blog

Category Archives: Uncategorized

string

why it is necessary to declare the size of an array when entring the string from terminal while there is no need to declare the size when entering string  through program??

Posted in Uncategorized | Leave a comment

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 Uncategorized | Leave a comment

Thread

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 Uncategorized | Leave a comment

UNDERSTANDING FILE PERMISSION

Although there are already a lot of good security features built into Linux-based systems, one very important potential vulnerability can exist when local access is granted – – that is file permission based issues resulting from a user not assigning … Continue reading

Posted in Uncategorized | Leave a comment

POSIX thread (pthread) libraries

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 Uncategorized | Leave a comment

CHARACTER DRIVER(BLOCKING I/O)

Linux has the wait_queue_head_t data structure for implementing blocking I/O operations. A process that wants to wait for a condition can call either of the following wait_event_xxx() functions: wait_event() wait_event_interruptible() wait_event_timeout() wait_event_interruptible_timeout() wait_event_interruptible_exclusive() The first four API’s will result in … Continue reading

Posted in Uncategorized | Leave a comment

API – application program interface

API, an abbreviation of application program interface, is a set of routines, protocols, and tools for building software applications. The API specifies how software components should interact and are used when programming graphical user interface (GUI) components.  A good API … Continue reading

Posted in Uncategorized | Leave a comment

Character Driver(Completion)

#for the another synchroniztion technique…..COMPLETION….here in the end of the devwrite i make a call for the completion and in the devread in the starting i call wait_for_completion() and in the end i call complete()….it work fine for me….. RCS … Continue reading

Posted in Uncategorized | Leave a comment

Character Driver(Semaphore)

#applying the semaphore….here i run the 4 application(open, write and read) from the single node…..and its working fine…. RCS file: application.c,v Working file: application.c head: 1.17 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 17; selected … Continue reading

Posted in Uncategorized | Leave a comment

What is PYTHON?

Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development, as well as for use as a scripting … Continue reading

Posted in Uncategorized | Leave a comment

Make your first BLOG using django tool (PYTHON)

BUILD up your first BLOG site using Django tool   STEP 1: Install Python 2.7 or above and django   STEP 2: write this command to create your project with default settings and server – python ‘django location’ startproject project_name … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

Introduction To Threads

A thread of execution is often regarded as the smallest unit of processing that a scheduler works on. A process can have multiple threads of execution which are executed asynchronously. This asynchronous execution brings in the capability of each thread … Continue reading

Posted in Uncategorized | Leave a comment

Thread

RCS file: thrd.c,v Working file: thrd.c head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1;     selected revisions: 1 description: creating the thread —————————- revision 1.1    locked by: root; date: 2014/06/03 06:37:40;  author: … Continue reading

Posted in Uncategorized | Leave a comment

a program of factorial using recursive function

description: recursive function with factorial —————————- revision 1.1 date: 2014/06/02 06:36:43; author: root; state: Exp; Initial revision =============================================================================

Posted in Uncategorized | Leave a comment

DISK PARTITION

Primary Partition, Logical Partition and Extended Partition (Disk Partition Basic) A disk partition is a defined storage space on a hard drive. All Windows operating systems can let users divide a hard disk into multiple partitions, in this way, making … Continue reading

Posted in Uncategorized | Leave a comment