mirror of
https://github.com/falsycat/ar.falsy.cat.git
synced 2024-12-24 15:54:52 +00:00
add new articles
This commit is contained in:
parent
f43a85b4ca
commit
63cfe0d5ac
16
content/note/info-tech/library-c-cpp.md
Normal file
16
content/note/info-tech/library-c-cpp.md
Normal file
@ -0,0 +1,16 @@
|
||||
---
|
||||
title: C/C++のライブラリまとめ
|
||||
tags: [note, info-tech, c-language, cpp, development]
|
||||
---
|
||||
|
||||
## 概要
|
||||
- C/C++のいい感じのライブラリのまとめ
|
||||
- 基本的にlightweightかつmulti-platformなものしか載せない
|
||||
- リンクがない項目は今後執筆予定
|
||||
|
||||
## Script
|
||||
- [LuaJIT](note/info-tech/luajit) (C)
|
||||
- [ExprTk](note/info-tech/exprtk) (C++)
|
||||
|
||||
## OS Wrapper
|
||||
- [tinycthread](note/info-tech/tinycthread) (C11)
|
32
content/note/info-tech/tinycthread.md
Normal file
32
content/note/info-tech/tinycthread.md
Normal file
@ -0,0 +1,32 @@
|
||||
---
|
||||
title: tinycthread
|
||||
tags: [note, info-tech, 'c-language', development]
|
||||
---
|
||||
|
||||
[tinycthread](https://tinycthread.github.io) / [API doc](https://tinycthread.github.io/doc/tinycthread_8h.html)
|
||||
|
||||
## 概要
|
||||
- スレッド関係の機能を提供するlightweightなライブラリ
|
||||
- `mtx`: mutex
|
||||
- `cnd`: condition variable
|
||||
- `thrd`: thread
|
||||
- `tss`: thread-specific storage
|
||||
- C11
|
||||
- zlib license
|
||||
- マルチプラットフォーム
|
||||
- CMake利用可能
|
||||
|
||||
## 導入方法
|
||||
### CMake: FetchContent
|
||||
```cmake
|
||||
# ---- tinycthread ----
|
||||
# repository: https://github.com/tinycthread/tinycthread
|
||||
# license : zlib
|
||||
|
||||
FetchContent_Declare(
|
||||
tinycthread
|
||||
GIT_REPOSITORY "https://github.com/tinycthread/tinycthread.git"
|
||||
GIT_TAG "6957fc8383d6c7db25b60b8c849b29caab1caaee"
|
||||
)
|
||||
FetchContent_MakeAvailable(tinycthread)
|
||||
```
|
Loading…
Reference in New Issue
Block a user