https://bugs.llvm.org/show_bug.cgi?id=38805

            Bug ID: 38805
           Summary: support calling llvm.coro.destroy as the last
                    instruction in a coro destroying itsself.
           Product: new-bugs
           Version: 6.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedb...@nondot.org
          Reporter: sland...@gmail.com
                CC: llvm-bugs@lists.llvm.org

I am pretty sure zig needs this for NM scheduling.

If a request to cancel a co-routine comes in while that co-routine is running,
the current requirements mean signalling the resuming thread (which is in a
epoll_wait() loop). This complexity can be avoided if a co-routine can cancel
itsself.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to