Giter Club home page Giter Club logo

betterthreads's People

Contributors

lgeretti avatar

Watchers

 avatar  avatar  avatar

betterthreads's Issues

MSVC not supporting using specific function signature

The following function:

using TaskFunctionType = std::function<void(DynamicWorkload<E,AS...>::Access&, E const&, AS...)>;

is not accepted by MSVC, complaining that

D:/a/betterthreads/betterthreads/include\workload.hpp(204,82): error C2760: syntax error: ',' was unexpected here; expected 'expression' [D:\a\betterthreads\build\test\test_workload.vcxproj]
D:\a\betterthreads\betterthreads\test\test_workload.cpp(54,50): message : see reference to class template instantiation 'BetterThreads::DynamicWorkload<int,std::shared_ptr<SynchronisedList<int>>>' being compiled [D:\a\betterthreads\build\test\test_workload.vcxproj]
D:/a/betterthreads/betterthreads/include\workload.hpp(204,82): error C2059: syntax error: ',' [D:\a\betterthreads\build\test\test_workload.vcxproj]
D:/a/betterthreads/betterthreads/include\workload.hpp(204,99): error C2059: syntax error: ')' [D:\a\betterthreads\build\test\test_workload.vcxproj]
D:/a/betterthreads/betterthreads/include\workload.hpp(205,1): error C2947: expecting '>' to terminate template-argument-list, found '>' [D:\a\betterthreads\build\test\test_workload.vcxproj]

Issue with test_workload

On Ubuntu Clang (11 or 14) there is an intermittent issue in test_workload:

test_workload: tpp.c:83: __pthread_tpp_change_priority: Assertion `new_prio == -1 || (new_prio >= fifo_min_prio && new_prio <= fifo_max_prio)' failed.

In addition, sometimes the test hangs.

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.