1.进程 定义:进程是运行中的程序,运行中的程序可以理解为内存中的代码指令和运行相关的数据被CPU读写并计算的过程。 有人会认为,要提升CPU的利用率,可以开多个进程,但是开多个进程的话,进程间通讯是个比较麻烦的事情(进程之间地址空间是独立的,需要通过其他方式,例如:管道来解决) 相反,线程之间是可 ...
分类:
编程语言 时间:
2021-04-20 15:30:44
阅读次数:
0
Android平台OpenGL ES/Assimp/OpenCV/GLM集成说明 本文代码见: https://github.com/jiangxincode/OpenGLDemo 集成Assimp 下载Assimp 5.0.1版本:https://codeload.github.com/assim ...
分类:
移动开发 时间:
2021-04-20 15:30:14
阅读次数:
0
1.安装node.js 官网:https://nodejs.org/en/download/ 下载对应的系统版本,安装完后,cmd 运行 node -v 查看版本号,是否安装成功 2.安装jdk 百度找一个jdk下载, java -version 查看是否安装成功 3.Android SDK 安装s ...
分类:
移动开发 时间:
2021-04-20 14:55:06
阅读次数:
0
写一个符合 Promise A+ 规范的 Promise 类型定义 // MyPromise.ts type resType = (value?: any) => void; type rejType = (reason?: any) => void; type executorType = (re ...
分类:
其他好文 时间:
2021-04-20 14:26:37
阅读次数:
0
1. Binder的系统日志文件 # ps -A | grep suspend system 699 1 2184444 4564 binder_ioctl_write_read 0 S android.system.suspend@1.0-service # ls /proc/699/fd -l ...
分类:
其他好文 时间:
2021-04-19 15:59:18
阅读次数:
0
1.用Requests发送百度请求 新建一个requests_test.py文件,输入如下内容。 import requests #请求百度网页response = requests.get("https://www.baidu.com", data=None,timeout=10)print(re ...
分类:
其他好文 时间:
2021-04-19 15:38:03
阅读次数:
0
近期华为开发者论坛有收到开发者提问:我的应用app需要调用GPS的位置服务,已经将应用所需要的所有权限全部打开,而且使用了wifi和4G网络,手机的耗电管理和联网管理等设置也全部为app开放,但使用标准Android接口调用的GPS位置和速度数据依然非常不准确,怎么解决呢?问题链接 Android原 ...
分类:
其他好文 时间:
2021-04-19 15:34:35
阅读次数:
0
mac 上build go 如果想要在centos上面执行 必须使用下面的方式 CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o hello hello.go 不然会报错 :cannot execute binary file ...
分类:
其他好文 时间:
2021-04-19 14:58:20
阅读次数:
0
使用as连接真机时,找不到设备,发现 D:\Android\Sdk\platform-tools\adb.exe start-server' failed -- run manually if necessary 这是可能是adb端口占用的问题,解决方法: 1.查找此时正在占用adb默认端口‘503 ...
分类:
移动开发 时间:
2021-04-16 12:15:52
阅读次数:
0
pwd,打印当前目录 ls:List information about the FILEs (the current directory by default) -a/--all -d/--directory dir -a 进入如camera的目录后运行dir、ls会卡住(可以ctrl+c退出)。 ...
分类:
移动开发 时间:
2021-04-16 12:10:03
阅读次数:
0