Skip to content

problem to implement multithreaded Grappa #284

@buaasun

Description

@buaasun

I have try to change the implementation of Grappa to be multithreaded, but I encountered some problems. Could you give me some help?
I mainly modify the code in this commit buaasun@02c397b

When I run the modified version of helloworld, sometimes it can finish all tasks, but sometimes it failed randomly. I guess the problem is in swap_context.
However, it is difficult to debug the problem, because the call stack is broken when the problem happen. I find nothing in gdb backtrace. I have no idea to solve the problem, so I really need your help @bmyerz @nelsonje

BTW. I found a similar project https://github.com/Qthreads/qthreads. It is multithreaded. So I think it should be no problem to change Grappa to be multithreaded.

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