mirror of
https://github.com/mmueller41/mxtasking.git
synced 2026-01-21 12:42:57 +01:00
Added pthread entrypoint for epoch manager.
This commit is contained in:
@@ -113,6 +113,11 @@ public:
|
|||||||
*/
|
*/
|
||||||
void enter_epoch_periodically();
|
void enter_epoch_periodically();
|
||||||
|
|
||||||
|
static void *enter(void *args) { EpochManager *mgr = static_cast<EpochManager *>(args);
|
||||||
|
mgr->enter_epoch_periodically();
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reclaims all garbage, mainly right before shut down tasking.
|
* Reclaims all garbage, mainly right before shut down tasking.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user