摘要: 什么是并发,竞态竞态的解决方式实际中如何灵活应用 ## 什么是并发,竞态并发(concurrency): 并发是指多个执行单元同时,并行的执行竞态(race conditions): 并发的执行单元对共享资源(硬件资源(比如只有一个i2c,一个uart),全局变量等)的访问容易发生数据混乱竞态发生的情况 1 对称多处理器(SMP)的多个CPU,smp是一种紧耦合,共享存储的系统模... 阅读全文
posted @ 2016-03-11 09:32 xiaoweishine 阅读(141) 评论(0) 推荐(0) 编辑
摘要: Ffdgfdgfgfgfg 我们的的人 阅读全文
posted @ 2016-01-17 15:37 xiaoweishine 阅读(88) 评论(0) 推荐(0) 编辑
摘要: bd_info```u-boot.htypedefstruct bd_info {int bi_baudrate;/* serial console baudrate */unsignedlong bi_ip_addr;/* IP Address */struct environment_s *bi... 阅读全文
posted @ 2015-09-28 17:31 xiaoweishine 阅读(179) 评论(0) 推荐(0) 编辑
摘要: COBJS-$(CONFIG_HISFC_FLASH_GODNET) += hisfc300new_spi_ids.o hisfc300new.o hisfc300new_godnet.oCOBJS-y = spi_compatible.o spi_ids.o- *hifmc_spi_nor_probe* 这个函数很重要 参数类型是 `struct spi_flash`,`stru... 阅读全文
posted @ 2015-09-25 20:15 xiaoweishine 阅读(629) 评论(0) 推荐(0) 编辑
摘要: ##SHELL[**2015-06-25**] > if [ "$#" != "1" ]; then //方括号两侧须有空格 > export LIBSYS_BASE_DIR=$(pwd)/.. // 等号左右不能有空格##LIBSYS 阅读全文
posted @ 2015-06-24 13:54 xiaoweishine 阅读(369) 评论(0) 推荐(0) 编辑