Giter Site home page Giter Site logo

jiu-xiao / onemessage Goto Github PK

View Code? Open in Web Editor NEW
61.0 3.0 15.0 363 KB

一个基于发布-订阅模型的多线程消息框架,用于嵌入式平台,纯C实现,性能和灵活性极高

License: Apache License 2.0

CMake 4.65% C 95.35%
message mcu embedded stm32 linux publish-subscribe

onemessage's Introduction

👋 Hi, I’m Xiao

I’m working at MCU and Linux development

Github state

Top Langs

onemessage's People

Contributors

jiu-xiao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

onemessage's Issues

树莓派4b om_find_topic函数超时

树莓派4b,官方64位系统运行单元测试,部分用例通过,部分用例失败,日志
----------------------日志start--------------------------------
pi@raspberrypi:~/work/midea/subpub/OneMessage/build $ make; make test ARGS="-V"
[ 37%] Built target OneMessage
[ 51%] Built target Test
[100%] Built target om_test
Running tests...
UpdateCTestConfiguration from :/home/pi/work/midea/subpub/OneMessage/build/DartConfiguration.tcl
UpdateCTestConfiguration from :/home/pi/work/midea/subpub/OneMessage/build/DartConfiguration.tcl
Test project /home/pi/work/midea/subpub/OneMessage/build
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 1
Start 1: om_test

1: Test command: /home/pi/work/midea/subpub/OneMessage/build/test/om_test
1: Test timeout computed to be: 10000000
1: Running suite(s): 底层API测试
1: 100%: Checks: 2, Failures: 0, Errors: 0
1: /home/pi/work/midea/subpub/OneMessage/test/om_test_base.c:8:P:内存分配测试:_MALLOC:0: Passed
1: /home/pi/work/midea/subpub/OneMessage/test/om_test_base.c:13:P:互斥锁测试:_MUTEX:0: Passed
1: Running suite(s): 模块测试
1: /home/pi/work/midea/subpub/OneMessage/src/app/om_fmt.c 40: len is 4
1: /home/pi/work/midea/subpub/OneMessage/src/app/om_fmt.c 40: len is 20
1: /home/pi/work/midea/subpub/OneMessage/src/app/om_fmt.c 40: len is 20
1: /home/pi/work/midea/subpub/OneMessage/src/app/om_fmt.c 40: len is 20
1: /home/pi/work/midea/subpub/OneMessage/src/app/om_fmt.c 40: len is 20
1: 71%: Checks: 7, Failures: 0, Errors: 2
1: /home/pi/work/midea/subpub/OneMessage/test/om_test_module.c:102:P:日志测试:_LOG:0: Passed
1: /home/pi/work/midea/subpub/OneMessage/test/om_test_module.c:43:E:订阅发布测试:_PUBLISH:0: (after this point) Test timeout expired
1: /home/pi/work/midea/subpub/OneMessage/test/om_test_module.c:76:E:静态订阅发布测试:_PUBLISH_STATIC:0: (after this point) Test timeout expired
1: /home/pi/work/midea/subpub/OneMessage/test/om_test_module.c:134:P:事件触发测试:_EVENT:0: Passed
1: /home/pi/work/midea/subpub/OneMessage/test/om_test_module.c:160:P:静态事件触发测试:_EVENT_STATIC:0: Passed
1: /home/pi/work/midea/subpub/OneMessage/test/om_test_module.c:228:P:高级过滤器测试:_FILTER:0: Passed
1: /home/pi/work/midea/subpub/OneMessage/test/om_test_module.c:294:P:静态高级过滤器测试:_FILTER_STATIC:0: Passed
1/1 Test #1: om_test ..........................***Failed 10.04 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) = 10.04 sec

The following tests FAILED:
1 - om_test (Failed)
Errors while running CTest
----------------------日志end--------------------------------

自己编写demo运行,发现是om_find_topic函数超时了,请作者看看这问题。

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.