Skip to content

프로파일러 버그 #10

@pjc02478

Description

@pjc02478

LEAVE 없이 BEGIN TASK 가 연속으로 두번 이상 불려졌을 때

microthread::task a([](){
  printf("hello\n");
  flowcontrol::delay(time::second(1));
  printf("world\n");
});
a.schedule();

microthread::task c([&a](){
  a.join();
  printf("a joined\n");
});
c.schedule();

a 가 실행된 상태에서 world가 출력되고 a가 끝나고 바로 join중인 c로 스위치됨

begin(a) -> begin(c) -> leave(c) -> leave(a)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions