Thread library to solve process synchronization problem

Other Title(s)

إنشاء مكتبة روابط لحل مشكلة تزامن البرامج

Author

Abd Allah, Nada Abd al-Zahrah

Source

al-Mansour

Publisher

al-Mansour University College

Publication Date

2010-12-31

Country of Publication

Iraq

No. of Pages

23

Main Subjects

Information Technology and Computer Science

Topics

Arabic Abstract

أكثر البرامج يراد أن تكتب بطريقة لتهتم بوجود بعضها البعض و تتعاون مع بعضها لانجاز هدف معين.

الحل الذي يضمن تعاون البرامج مع بعضها هو ميكانيكية الاتصال المتداخل للبرامج.

بغض النظر عن الميكانيكية المستخدمة, هناك كلفة إضافية متأتية من تبديل سياق تنفيذ البرامج طالما أن هناك برامج تعمل معا.

للتغلب على هذه المشكلة يفضل استخدام مفهوم الروابط.

فكرة الروابط هو أن كل برنامج يكون له جزء من وقت المعالج مشترك بين عدد من الروابط تعمل في نفس الوقت, و كل رابط يشترك مع بقية الروابط بنفس هياكل البيانات و الذاكرة للبرنامج التابعين له.

في هذا البحث تم إنشاء مكتبة روابط جديدة و سهلة الاستخدام في مستوى المستخدم.

و كتطبيق على استخدام هذه المكتبة تم بناء برنامج لحل مشكلة الخزن غير المحدد في المخزن المؤقت.

استخدمت لغة سي للبرمجة تحت نظام التشغيل لينكس.

English Abstract

Most programs needed to be written in a way that are aware of the existence of each other and which can co-operate with each other towards some common goal.

The standard solution to this problem is interprocess communication mechanisms (IPC).

Any IPC mechanism is chosen, there is still the context switch overhead to contend with whenever normal processes need to work together.

The way to overcome this is to use the concept of threads.

The idea behind threads is that each process can have its processor time slices shared between several concurrent threads, each of which also shares the memory and data structures of the process to which it belongs. In this paper a new and simple user level threads library is presented.

This library can be easily used by the programmers to gain the benefits of threads.

As an application a solution to the unbounded buffer problem is implemented using the developed thread library.

C language under Linux Operating system is used for programming.

Data Type

Conference Papers

Record ID

BIM-325970

American Psychological Association (APA)

Abd Allah, Nada Abd al-Zahrah. 2010-12-31. Thread library to solve process synchronization problem. Scientific Conference (10th : 2009 : Baghdad, Iraq). . Vol. 14, p. 2 (2010), pp.83-105.Baghdad Iraq : al-Mansour University College.
https://search.emarefa.net/detail/BIM-325970

Modern Language Association (MLA)

Abd Allah, Nada Abd al-Zahrah. Thread library to solve process synchronization problem. . Baghdad Iraq : al-Mansour University College. 2010-12-31.
https://search.emarefa.net/detail/BIM-325970

American Medical Association (AMA)

Abd Allah, Nada Abd al-Zahrah. Thread library to solve process synchronization problem. . Scientific Conference (10th : 2009 : Baghdad, Iraq).
https://search.emarefa.net/detail/BIM-325970