Thread Organization and Intra-Thread Datasharing (T.O.I.T.D)
Journal Title: International Research Journal of Computer Science - Year 2016, Vol 0, Issue 0
Abstract
Multithreading is a major part of parallel programming used almost everywhere but it needs to be implemented effectively to make it useful. There are many ways to implement multithreading in any language. In this paper we show how multithreading can be implemented easily with the use of basic concepts like static variables, etc and then we show how different threads can communicate and interact with each other using the same concepts.Method shown in this paper is similar to how the OS handles multiple processes. We will demonstrate the selective activation of Threads and also demonstrating the execution of the threads sequentially. We also discuss intra-thread communication using static variables. Thus the difficult concept of synchronization and the “join()” method is both replicated and simplified using the basic methods. Finally we present a data structure to depict multiprocessing in a small application using the above discussed concepts.
Authors and Affiliations
Fenil R. Doshi, Rohan H. Pooniwala, Vijayalakshmi G.
Count Vehicle Over Region of Interest Using Euclidean Distance
This paper propose a system to calculate the vehicle from video file. Vehicles will be calculated when passing through a Region Of Interest that has been set by the user. Calculation of the vehicle obtained by calculatin...
Block Based Algorithms for Estimating Motion
In this paper we are discussing about ME in video compression that to specifically about the algorithms used for it. Here we can see the different types of BMA which are implemented and compared, which includes from some...
A Novel Approach for Cryptography using Modified Substitution Cipher and Triangulation
In this paper a novel approach to encryption and decryption is presented, which will include two new techniques, namely, Rounded Cipher, a modified version of the substitution cipher, and Triangulation. This approach als...
Re-evaluation of the Current NMI01 STR Sizing System of Cannabis DNA
The NMI01 STR region of Cannabis sativa DNA is currently developed for source attribution of seized Cannabis by law enforcement. However, the current system does contain some limitations, mainly the lack of a commerciall...
Scope and Issues in Green Compiler
With the growing demand of electronic devices, efficient conservation of energy has become the major concern. Investments are on the datacentres that consume huge amount of energy at both hardware and software levels as...