会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
啊 我们的征途是星辰大海
狂奔吧
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
43
44
45
46
47
48
49
50
51
···
65
下一页
2020年4月5日
pthread 库重要的头文件
摘要: #ifndef _IMPLEMENT_H #define _IMPLEMENT_H #ifdef _WIN32_WINNT #undef _WIN32_WINNT #endif #define _WIN32_WINNT 0x400 #include <windows.h> /* * In case
阅读全文
posted @ 2020-04-05 09:30 卷哭你
阅读(1789)
评论(0)
推荐(0)
2020年4月4日
线程的终止和pthread_join的理解
摘要: #include "stdafx.h" #include <pthread.h> #include <stdio.h> void * thread_routine(void*arg); void * thread_routine(void*arg) { return arg; } int main(
阅读全文
posted @ 2020-04-04 23:23 卷哭你
阅读(1586)
评论(0)
推荐(0)
win32 pthread库源码阅读
摘要: #include "pthread.h" #include "implement.h" int pthread_attr_init (pthread_attr_t * attr) /* * * DOCPUBLIC * Initializes a thread attributes object wi
阅读全文
posted @ 2020-04-04 22:42 卷哭你
阅读(554)
评论(0)
推荐(0)
第二章 线程
摘要: 2.1 节讲诉创建和管理线程的编程内容,即如何建立线程,线程在程序中如何表示,以及建立线程后能对他们进行的基本操作。 2.2 讲诉线程的生命周期,从线程建立到线程回收。该节将讲诉线程所有能够经历的调度状态。
阅读全文
posted @ 2020-04-04 14:58 卷哭你
阅读(99)
评论(0)
推荐(0)
window多线程编程
摘要: 方法一 #include "stdafx.h" #include <stdio.h> #include <assert.h> #include <windows.h> #include <process.h> // 包含这个头文件就行 方法二 移植posix库: 移植官网: ftp://source
阅读全文
posted @ 2020-04-04 14:26 卷哭你
阅读(308)
评论(0)
推荐(0)
2020年4月3日
强大的字符数组
摘要: 所有英文字符都是使用字符数组存储的,也就是打通了计算机与英语的联系。 static void strarray_printf(char *data, int len) { int i; for (i = 0; i < len; i++) { printf("0x%02x ", data[i]); }
阅读全文
posted @ 2020-04-03 09:31 卷哭你
阅读(123)
评论(0)
推荐(0)
2020年4月2日
linux设置环境变量一些坑的总结
摘要: 这篇文章说的很好 https://www.cnblogs.com/yaoqingzhuan/p/10889718.html 我遇到的坑: (1) .~bash 是在home目录下面的 (2)export里面的路径错误 也不会报错 所以的要认真看一下 我在这里坑过。 (3)直接export xxx 命
阅读全文
posted @ 2020-04-02 11:30 卷哭你
阅读(798)
评论(0)
推荐(0)
2020年3月30日
Java hello world
摘要: 事实上,没有难么简单 。 public class Hello { public static void main(String [] args) { System.out.println("Java Hello world\n"); } } 看起来比较奇怪,后面再搞搞,有点奇怪的感觉。
阅读全文
posted @ 2020-03-30 21:19 卷哭你
阅读(162)
评论(0)
推荐(0)
一次音频波形的问题
摘要: (1)采集8通道,6通道保存 数据错乱
阅读全文
posted @ 2020-03-30 20:52 卷哭你
阅读(321)
评论(0)
推荐(0)
0xfffxxx的负数表示
摘要: - 0xce 如果是short类型表示 0xffce 表示负数 负数的10进制是很大的 。 -0xce 如果是int类型的话 0xffffffce 表示负数 负数的10进制也很大
阅读全文
posted @ 2020-03-30 20:22 卷哭你
阅读(774)
评论(0)
推荐(0)
上一页
1
···
43
44
45
46
47
48
49
50
51
···
65
下一页
公告