DocumentCode
545481
Title
Multithreaded programming framework development for gcc infrastructure
Author
Chiplunkar, Niranjan N. ; Neelima, B. ; Deepak
Author_Institution
Dept. of Comput. Sci. & Eng., NMAM Inst. of Technol., Nitte, India
Volume
3
fYear
2011
fDate
11-13 March 2011
Firstpage
54
Lastpage
57
Abstract
Synchronizing the access of concurrent threads to shared memory, in order to prevent unwanted interference is a basic problem in multithreaded programming. Thread synchronization mechanism provides a means of restricting the possible inter-leavings of threads, thereby reducing non-determinacy and allowing stronger program properties to be maintained. For example locks are often used around update operations on shared data to ensure mutual exclusion. Concurrency should be a language feature and a part of language specifications. The core idea of this paper is that the compiler is made to identify the critical section in a multithreaded program for the synchronization, which currently is not a C language feature in gcc (GNU Compiler Collection) compiler. The idea behind this technique is that compiler will automatically take care of the critical section by introducing Lock and Unlock function calls in a multithreaded program without involvement of the programmers. (A critical section of a multithreaded program is a section of code where shared data are accessed by the multiple threads).
Keywords
multi-threading; program compilers; shared memory systems; GNU compiler collection; Lock and Unlock function calls; concurrent threads; gcc compiler; gcc infrastructure; language specifications; multithreaded programming; shared memory; thread synchronization mechanism; Concurrent computing; Instruction sets; Multithreading; Programming; Synchronization; Syntactics; Lock and Unlock; Multithreading; critical section; gcc;
fLanguage
English
Publisher
ieee
Conference_Titel
Computer Research and Development (ICCRD), 2011 3rd International Conference on
Conference_Location
Shanghai
Print_ISBN
978-1-61284-839-6
Type
conf
DOI
10.1109/ICCRD.2011.5764244
Filename
5764244
Link To Document