Keeplooking
主页归档分类标签随笔摄影关于
  • 标签
  • JNI
2019-09-23语言基础2 分钟 读完 (大约 267 个字)

C++:如何将类成员函数传递给pthread_create()?

  • https://thispointer.com/c-how-to-pass-class-member-function-to-pthread_create/

    1
    int pthread_create(pthread_t *thread, const pthread_attr_t *attr,void *(*start_routine) (void *), void *arg);
  • 接受一个参数和返回值都是void * 的函数

  • class Task

阅读更多
2019-09-21语言基础3 分钟 读完 (大约 524 个字)

C++ 强/弱指针

  • 引用计数法

  • 强指针 会修改引用计数。弱指针,不会修改引用计数

阅读更多
Ken

Ken

爱于心,鉴于行

文章

77

分类

12

标签

28

分类

  • AI1
  • Android17
  • LeetCode17
  • 分享1
  • 思考1
  • 搞机2
  • 摄影2
  • 框架2
  • 计算机基础3
  • 语言基础26
  • 问题与经验4
  • 项目架构1

最新文章

2026-11-12

什么都能用 AI 生成了,还有什么是可贵的?

思考

2026-11-11

AI 都会写代码了,为什么 CUDA 的护城河还是这么深?

AI

2024-04-29

Expected a string but was BEGIN_OBJECT

问题与经验

2023-12-02

Android项目接入Rust

Android

2023-11-07

Kotlin的变量重名问题

语言基础

标签

AI1
AI Coding1
Android14
Bug11
C++2
CUDA1
Compose1
GPU1
Gradle1
JNI2
JSON1
Java23
K8S1
Kotlin4
LeetCode17
NVIDIA1
ROCm1
Rust1
Spark1
Triton1
分享1
安装1
思考1
搞机1
摄影2
操作系统1
街头2
计组1
Keeplooking

© 2019 - 2026 Ken Chan  

×