diff --git a/content/note/info-tech/library-c-cpp.md b/content/note/info-tech/library-c-cpp.md deleted file mode 100644 index 9d53dbe..0000000 --- a/content/note/info-tech/library-c-cpp.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -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) \ No newline at end of file diff --git a/content/note/info-tech/tinycthread.md b/content/note/info-tech/tinycthread.md deleted file mode 100644 index fbbe2d2..0000000 --- a/content/note/info-tech/tinycthread.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -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) -``` \ No newline at end of file