coyun / libconcurrency Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/libconcurrency
Automatically exported from code.google.com/p/libconcurrency
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 [email protected]
on 1 Nov 2013 at 10:46
What steps will reproduce the problem?
CVS checkout on OS X Leopard 10.5.5
make
gcc -ansi -pedantic -O2 -fPIC -I./ -c libconcurrency/coro.c -o
libconcurrency/coro.o
libconcurrency/coro.c:60: error: thread-local storage not supported for
this target
libconcurrency/coro.c:61: error: thread-local storage not supported for
this target
libconcurrency/coro.c:62: error: thread-local storage not supported for
this target
On a Macbook (intel core 2 duo)
Original issue reported on code.google.com by [email protected]
on 12 Oct 2009 at 8:47
What steps will reproduce the problem?
1. Open project in Visual Studio 2013
2. Set project configuration as "Release"
3. Run example code.
What is the expected output? What do you see instead?
Program should complete successfully. Example crashes on switching to a saved
coroutine.
What version of the product are you using? On what operating system?
Using revision 2013 on Windows7 64bit.
Please provide any additional information below.
Problem: Optimizations excludes the frame pointer.
Fix: Go to project->properties. Navigate to Configuration
Properties->C/C++->Optimization. Select custom in the Optimization dropdown.
Select No for "Omit Frame Pointers" drop-down.
Original issue reported on code.google.com by [email protected]
on 29 Jul 2014 at 4:04
What steps will reproduce the problem?
1. Start with mint client
2. when making probe, set "all" entries in jmpbuf to random values
3. run example code.
What is the expected output? What do you see instead?
Full execution of example code.
Program will fail with "No Thread Launch" error.
What version of the product are you using? On what operating system?
Product revision 31. Windows 7 64bit.
Please provide any additional information below.
Processor: AMD Phenom II X4 910
Architecture: AMD64
FIX:
Can be fixed with initializing all probe members to 0.
Message to Author:
Thanks so much for this library! It's a great way to start learning about
coroutines and a good spring board for future projects.
Original issue reported on code.google.com by [email protected]
on 29 Jul 2014 at 3:59
What steps will reproduce the problem?
1. Can't compile on OSX 10.5.8
What is the expected output? What do you see instead?
libconcurrency $ make
gcc -ansi -pedantic -O2 -fPIC -I./ -c libconcurrency/coro.c -o
libconcurrency/coro.o
libconcurrency/coro.c:60: error: thread-local storage not supported for this
target
libconcurrency/coro.c:61: error: thread-local storage not supported for this
target
libconcurrency/coro.c:62: error: thread-local storage not supported for this
target
make: *** [libconcurrency/coro.o] Error 1
What version of the product are you using? On what operating system?
From svn
Please provide any additional information below.
gcc --version
i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5488)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Original issue reported on code.google.com by [email protected]
on 30 Jun 2011 at 9:52
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.