Example of parallel sections construct, Computer Networking

This example demonstrates the use of parallel sections construct. The three functions, fun1, fun2, and fun3, all can be executed concurrently.  Note that all the section directives need to appear in the parallel sections construct.

void fun1(); void fun2(); void fun3();

void  parallel_sec()

{

#pragma omp parallel sections

{

#pragma omp section fun1();

#pragma omp section fun2();

#pragma omp section fun3();

}

}

 

Posted Date: 3/4/2013 5:23:33 AM | Location : United States







Related Discussions:- Example of parallel sections construct, Assignment Help, Ask Question on Example of parallel sections construct, Get Answer, Expert's Help, Example of parallel sections construct Discussions

Write discussion on Example of parallel sections construct
Your posts are moderated
Related Questions
QUESTION (a) Briefly describe the direct coordination model and the meeting oriented coordination model (b) What does JADE stands for? (c) Name the three spec

Describe the concept of internetwork and intranetwork routing protocols?

Applications of Fiber Optics - Backbone networks because of wide bandwidth and cost effectiveness - Cable TV - LANS - 100Base-FX (Fast Ethernet)

Can you determine routing loop issue in RIP protocol?


In 3-tier Client/Server systems, the application logic (or process) lives in the middle tier and it is removed from the data and the user interface. In theory, the 3-tier Client/Se

These are fully-loaded machines which consists of multiprocessors, high-speed disk arrays for interview I/O and fault tolerant features.

In Windows 2000, a domain describes both an administrative boundary and a security boundary for a collection of objects that are relevant to a particular group of users on a networ

The relationship between dotted decimal notation and classes is shown as follows. In class A the three octets managed to a host suffix. In class B the last most two octets ar

What is tracert? Tracert is a Windows utility program that can used to trace the route taken by data from the router to the destination network. It also represents the number o