Giter Club home page Giter Club logo

libconcurrency's People

Watchers

 avatar  avatar  avatar

libconcurrency's Issues

Not initializing probe causes fibers not to start

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

Make fails: thread-local storage not supported for this target

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

Visual Studio 2013 Optimizations Cause Crash

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

Can't compile on OSX 10.5.8 + GCC 4.0.1

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

example does not work

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.