Title :
An Approach of Windows Synchronization Mechanism Simulation on Linux
Author :
Rui Li ; Nanjun Yang ; Shilong Ma
Author_Institution :
State Key Lab. of Software Dev. Environ., Beihang Univ., Beijing, China
Abstract :
So far open source software has been developed for several decades. Linux has gradually become one of the major operating systems. The issue that Windows application migration can be migrated to Linux is raised. However, there is great difference in the implementation mechanism between Windows and Linux. In this research, we try to build an middle layer which between application and operating system to shield the differences between the underlying operating system for the upper layer application. The middle layer provides unified fixed interface by packaging different operating system calls, so as to make the same source code can be directly translated on different operating systems with no change. It can achieve the migration of the application in source code level. In this paper, we introduce the Simulation Windows Synchronization Mechanism. we build a wait and release mechanism of multi-object, simulate Windows asynchronous procedure call (APC). And also implement Windows wait able timer on Linux. And finally, an experiments is given to test and verify our approach with the dining philosophers problem which is a classic problem in computer science.
Keywords :
Linux; public domain software; user interfaces; APC; Linux; Windows synchronization mechanism simulation; Windows waitable timer; asynchronous procedure call; computer science; dining philosophers problem; middle layer; open source software; operating system calls; source code level; unified fixed interface; upper layer application; Data structures; Instruction sets; Kernel; Linux; Synchronization; Algorithm; Operating system; Synchronization Mechanism; migration; simulation;
Conference_Titel :
Parallel and Distributed Computing, Applications and Technologies (PDCAT), 2012 13th International Conference on
Conference_Location :
Beijing
Print_ISBN :
978-0-7695-4879-1
DOI :
10.1109/PDCAT.2012.39