上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: 一、背景 背景: 在多核编程中,我们使用内核对象【如:事件对象(Event)、互斥量对象(Mutex,或互斥体对象)、信号量对象(Semaphore)等】来避免多个线程修改同一个数据时产生的竞争条件。基于内核对象的同步,会带来昂贵的上下文切换(用户态切换到内核态,占用1000个以上的cpu周期)。 阅读全文
posted @ 2022-12-12 17:23 sciapex 阅读(184) 评论(0) 推荐(0)
摘要: 因为考虑多线程处理,所以加了互斥;对缓存最大值没加限制。 typedef struct { int event; int type; MSG_INFO info; } ADPT_CLIENT_DATA; class BCallback { public: int32_t Callback(const 阅读全文
posted @ 2022-10-21 15:25 sciapex 阅读(28) 评论(0) 推荐(0)
摘要: PIE(ASLR) 代码段、数据段地址随机化 进程地址空间各区域随机化的措施,称之为ASLR(Address Space Layout Randomization)。ASLR通过随机放置进程关键数据区域的地址空间来防止攻击者能可靠地跳转到内存的特定位置来利用函数。现代操作系统一般都加设这一机制,以防 阅读全文
posted @ 2022-08-26 09:24 sciapex 阅读(324) 评论(0) 推荐(0)
摘要: 更新了python, 然后运行脚本,提示如下告警信息 /usr/local/lib/python3.8/dist-packages/paramiko/transport.py:219: CryptographyDeprecationWarning: Blowfish has been depreca 阅读全文
posted @ 2022-05-20 15:57 sciapex 阅读(13235) 评论(0) 推荐(0)
摘要: 1 概述 本文主要阐述使用genivi dlt离线存储相关事项 GENIVI DLT 提供日志和跟踪接口,基于 AUTOSAR 标准 4.0 DLT 中指定的标准化协议。它由其他 GENIVI 组件使用,但可以用作其他应用程序的日志记录框架,与 GENIVI 无关。 本文主要对应DLT Daemon 阅读全文
posted @ 2022-03-28 09:27 sciapex 阅读(1274) 评论(0) 推荐(0)
摘要: 规则: 1. 操作符的处理顺序是从到右, 比如obj<<arg1<<arg2<<arg3, 执行顺序为obj.opt(arg1)-->obj.opt(arg2)->obj.opt(arg3) 2. 如何知道已完成了最后一个操作,这个可以通过析构来确认,比如下面代码的例子,Info()里面创建一个对象 阅读全文
posted @ 2022-03-04 10:12 sciapex 阅读(201) 评论(0) 推荐(0)
摘要: --host: arm-linux/arm-qnx ./configure --host=arm-linux --prefix=/your_workspace/install CC=/release_version/toolchains/aarch64--glibc--stable/bin/aarc 阅读全文
posted @ 2022-02-11 15:34 sciapex 阅读(1378) 评论(0) 推荐(0)
摘要: 用于wireshark在3.2版本前没有解析SOME/IP协议的帮助脚本 -- SOME/IP Protocol -- declare our protocol local tempstr someip_proto = Proto("someip","SOME/IP Protocol") servi 阅读全文
posted @ 2022-01-25 11:08 sciapex 阅读(1244) 评论(0) 推荐(0)
摘要: .../main.cpp:9: ...server.hpp: In member function ‘virtual void server::run()’: ...server.hpp:151:10: error: cannot convert ‘server::run()::<lambda(au 阅读全文
posted @ 2021-12-10 09:43 sciapex 阅读(108) 评论(0) 推荐(0)
摘要: set(SI_NAME_LIST # TODO:: # 1. add serviceinterface for your need radar_ssrv_interface vision_ssrv_interface ) foreach(SI_NAME ${SI_NAME_LIST}) ac_com 阅读全文
posted @ 2021-12-02 14:32 sciapex 阅读(403) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 8 下一页