Functions

timing.cpp File Reference

Test that during actually takes the right time. More...

#include <systemc>
#include "during.h"
#include "utils/io-lock.h"
Include dependency graph for timing.cpp:

Go to the source code of this file.

Functions

 SC_MODULE (A)
 SC_MODULE (B)
int sc_main (int argc, char *argv[])

Detailed Description

Test that during actually takes the right time.

Test nested during tasks.

In pool implementation, pre-allocating 3 threads (Eat_one_thread, running for a long time doing extra_time) and then launching a 4th task (B) should deadlock.

Definition in file timing.cpp.

 All Classes Files Functions Defines