Chinaunix首页 | 论坛 | 博客
  • 博客访问: 476767
  • 博文数量: 144
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 508
  • 用 户 组: 普通用户
  • 注册时间: 2014-09-10 13:18
个人简介

Keep looking Donot settle

文章分类

全部博文(144)

文章存档

2019年(1)

2016年(31)

2015年(51)

2014年(61)

发布时间:2016-10-30 13:35:03

--------------------static int _init embed_hello_init (void) 1)embed_hello_init 不是结构体名,是函数名2)int _init部分,int 表示函数的返回值类型,是整型扣除_init去看,static int embed_hello_init (void),就是定义一个静态的无入参函数,返回值是整型。这些概念跟嵌入式,linux,驱动都没有任何关系.........【阅读全文】

阅读(1225) | 评论(0) | 转发(0)

发布时间:2016-10-19 14:11:32

http://blog.csdn.net/kyokowl/article/details/6294341POSIX threads(简称Pthreads)是在多核平台上进行并行编程的一套常用的API。线程同步(Thread Synchronization)是并行编程中非常重要的通讯手段,其中最典型的应用就是用Pthreads提供的锁机制(lock)来对多个线程之间共 享的临界区(Critical Section)进行.........【阅读全文】

阅读(6069) | 评论(0) | 转发(2)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册