Skip to content
NeoMetalx1Public

About

W.I.P Simple time wheel data structure. non-hierarchy

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple time wheel

Usage:

#include "timewheel.h"

void func() {
  std::cout << "Hello\n";
}

int main() {
  int wheelsize = 8;
  TimeWheel wheel(wheelsize);

  wheel.start();

          // delay func name
  wheel.addTask(5, func);
  return 0;
}

About

W.I.P Simple time wheel data structure. non-hierarchy

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages