![]() |
The ROme OpTimistic Simulator
3.0.0
A General-Purpose Multithreaded Parallel/Distributed Simulation Platform
|
Generic architecture management facilities. More...
#include <arch/thread.h>
Go to the source code of this file.
Generic architecture management facilities.
This module provides generic facilities for thread and core management. In particular, helper functions to startup worker threads are exposed, and a function to synchronize multiple threads on a software barrier.
The software barrier also offers a leader election facility, so that once all threads are synchronized on the barrier, the function returns true to only one of them.
Definition in file thread.c.