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

Threads not shown #60

Open
kroening opened this issue Dec 28, 2014 · 1 comment
Open

Threads not shown #60

kroening opened this issue Dec 28, 2014 · 1 comment

Comments

@kroening
Copy link
Member

E.g., try

include <stdio.h>

include <stdlib.h>

include <assert.h>

include <pthread.h>

int global;

void some_thread()
{
global++;
}

int main(void) {
pthread_create(0,0,some_thread,0);
pthread_create(0,0,some_thread,0);
assert(global!=2);
}

@prapicault
Copy link
Contributor

Threads are not handled at all. For example, if a counter example required some steps in one thread, and then steps in another one, then this situation would not be handled.

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