Category: OOPs

Feb 28

Introduction to Object Oriented Programming Concepts

Object Oriented Programming (OOPs) is a programming paradigm based on the concept of “objects”, which are data structures that contain data, in the form of fields, often known as attributes; and code, in the form of procedures, often known as methods. Class: A Class is a construct that enables you to create your own custom …

Continue reading

Permanent link to this article: http://zappmania.in/2015/02/28/introduction-to-object-oriented-programming-concepts.htm

Nov 20

ManualResetEvent and AutoResetEvent

Threads that call one of the wait methods of a synchronization event must wait until another thread signals the event by calling the Set method. There are two synchronization event classes. Threads set the status of ManualResetEvent instances to signaled using the Set method. Threads set the status of ManualResetEvent instances to nonsignaled using the Reset method or when …

Continue reading

Permanent link to this article: http://zappmania.in/2012/11/20/manualresetevent-and-autoresetevent.htm

Nov 20

What are wait handles/mutex object ?

Wait handles sends signals of a thread status from one thread to other thread.There are three kind of wait modes :- WaitOne. WaitAny. WaitAll. When a thread wants to release a Wait handle it can call Set method.You can use Mutex (mutually exclusive) objects to avail for the following modes. Mutex objects are synchronization objects …

Continue reading

Permanent link to this article: http://zappmania.in/2012/11/20/what-are-wait-handlesmutex-object.htm

Nov 20

What is monitor object?

Monitor objects are used to ensure that a block of code runs without being interrupted by code running on other threads. In other words, code in other threads cannot run until code in the synchronized code block has finished. SyncLock and End SyncLock statements are provided in order to simplify access to monitor object.

Permanent link to this article: http://zappmania.in/2012/11/20/what-is-monitor-object.htm

Nov 20

Multi-tasking, Thread, and Multi-threading

Multi-tasking : Its a feature of modern operating systems with which we can run multiple programs at same time example Word,Excel, notepad etc. Thread : A thread is the basic unit to which the operating system allocates processor time. Multi-threading : it forms subset of Multi-tasking instead of having to switch between programs this feature switches between different parts …

Continue reading

Permanent link to this article: http://zappmania.in/2012/11/20/multi-tasking-thread-and-multi-threading.htm