Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
michael-platzer opened this issue Nov 4, 2021 · 1 comment
Open

Comments

@michael-platzer
Copy link

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.

@Emoun
Copy link
Member

Emoun commented Nov 5, 2021

Since this is an issue with pasim, I'm moving it to the simulator's repo.

@Emoun Emoun transferred this issue from t-crest/patmos Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants