Skip to content

it's not thread safe  #10

@Igor-Mochalin

Description

@Igor-Mochalin

to reproduce

 for(int i=1;i<100;i++)
  std::thread(test1).detach();
   void test1()
   {
      Timer t = Timer();
      t.setInterval([&](){
         },
         1000);   
      t.stop();
   }

results
Exception has occurred.
Segmentation fault

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions