verilator/test_regress/t/t_wrapper_clone.out
Yinan Xu b4b74d72f0
Add prepareClone and atClone APIs for Verilated models (#3503) (#4444)
This API is used if the user copies the process using `fork`
and similar OS-level mechanisms. The `at_clone` member function
ensures that all model-allocated resources are re-allocated, such
that the copied child process/model can simulate correctly.

A typical allocated resource is the thread pool, which every model
has its own pool.
2023-08-30 07:02:55 -04:00

16 lines
214 B
Plaintext

counter = 0
counter = 1
counter = 2
counter = 3
counter = 4
counter = 5
child: here we go
counter = 6
counter = 7
counter = 8
parent: here we go
counter = 6
counter = 7
counter = 8
*-* All Finished *-*