Does OpenMP is event driven

General OpenMP discussion

Does OpenMP is event driven

Postby Guest » Wed Aug 13, 2008 11:06 pm

Hi all,

I have an application which is using shared memory region across various processes. Data enters through point A, it verifies data and puts into the shared memory which is read by other program B. The problem is program B is reading after a specific interval based on a timer. In reading it has to verify whether the data is available or not, if yes then continue, if no then go back to sleep. Even if I go in a while loop my memory CPU utilization goes high, if I go for timer based approach it causes an unnecessary delay. So I have decided to switch it onto a event driven model which is really giving me a good performance in terms of latency and CPU. I have come across OpenMP and would like to know whether OpenMP will fulfill my following expectations.

1) A thread/process are able to share data across multiple shared memories.
2) A thread/process is notified when a data has been inserted into shared memory (across multiple shared memory).

Also can anyone tell me how OpenMP has some other features which can really help me in the above mentioned scenarios?
Guest
 

Return to Using OpenMP

Who is online

Users browsing this forum: No registered users and 3 guests

cron