My Project
test_tasklets.cc File Reference

This file serves as an example of how to use the tasklet mechanism for asynchronous work. More...

#include "config.h"
#include <opm/models/parallel/tasklets.hh>
#include <chrono>
#include <iostream>

Classes

class  SleepTasklet
 

Functions

void sleepAndPrintFunction ()
 
int main ()
 

Variables

std::mutex outputMutex
 
Opm::TaskletRunner * runner
 

Detailed Description

This file serves as an example of how to use the tasklet mechanism for asynchronous work.