<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hi all,<div><br></div><div>i want to build an MPI application which uses threads, when i was looking for the compatible library to do that; i found that OpenMP provides the best performances. So, i documented about it. but when i came to implementation i didn't know how to accomplish what i want. </div><div>My application is supposed (for now) to have three threads running in the same time: the 1st for <span style="font-size: 10pt; ">split order</span><span style="font-size: 10pt; ">, the 2nd for </span><span style="font-size: 10pt; ">insertion</span><span style="font-size: 10pt; "> and the 3rd for updates. when the 1st one has the most raised priority and when it runs others have to be suspended, and when one of them ends, others terminates too.</span></div><div><span style="font-size: 10pt; ">does anybody know how implement this?</span></div><div><span style="font-size: 10pt; "><br></span></div><div><span style="font-size: 10pt; ">best regards,</span></div><div><span style="font-size: 10pt; ">Toufik. </span><span style="font-size: 10pt; "> </span></div>                                       </div></body>
</html>