Skip to content

Patmos simulator hangs when attempting to start a core thread #19

@michael-platzer

Description

@michael-platzer

The Patmos simulator pasim hangs when attempting to start a core thread via corethread_create().

Steps to reproduce:

$ cat test.c
#include "libcorethread/corethread.h"
void work(void* arg) {
}
int main() {
    corethread_create(1, &work, NULL);
    return 0;
}
$ patmos-clang test.c libcorethread/corethread.c 
$ pasim -N 2 a.out
^C

Note: the last command does not terminate and needs to be aborted.

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