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

example does not work #3

Open
GoogleCodeExporter opened this issue Apr 8, 2016 · 0 comments
Open

example does not work #3

GoogleCodeExporter opened this issue Apr 8, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. compile the example from the Project Home, link with -lconcurrency
2. run the example
3.

What is the expected output? What do you see instead?

The context should have switched to the writer upon coro_call(cw, r);

What version of the product are you using? On what operating system?

svn r31, Linux x86_64, glibc 2.11.3

Please provide any additional information below.

I don't think the setjmp logic works at all.  longjmp will always stay inside
coro_call() because there's also the setjmp that goes with it.
setjmp doesn't record the stack of the previous frame but the current one; and 
that's coro_call().


Original issue reported on code.google.com by sfreu...@gmail.com on 1 Nov 2013 at 10:46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant