[llvm-bugs] [Bug 38805] New: support calling llvm.coro.destroy as the last instruction in a coro destroying itsself.

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Sep 2 11:30:02 PDT 2018


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: unassignedbugs at nondot.org
          Reporter: slandden at gmail.com
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180902/b76cac44/attachment.html>


More information about the llvm-bugs mailing list