Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <omp.h>
- void increment1(){
- int x;
- x=0;
- for(int i = 0; i<30000000000000;i++){
- ++x;
- }
- printf("%dn",x );
- }
- int main(){
- #pragma omp parallel
- {
- #pragma omp sections
- {
- #pragma omp section
- { increment1(); }
- }
- }
- printf("Continuen" );
- return 0;
- }
Add Comment
Please, Sign In to add comment