Commit Graph

16 Commits

Author SHA1 Message Date
21f156ad0e doc: update cpp.md (#255)
* 更新排版

更新了以下内容的排版,以适应网页的风格:

+ lambda表达式
+ 多线程

* 更新C++多线程:锁

更新以下部分:

+ `mutex`
    + 上锁——`lock`
    + 解锁——`unlock`
    + 尝试上锁——`try_lock`
+ `lock_guard<Mutex>`
    + 额外参数`std::adopt_lock`
+ `unique_lock<Mutex>`
    + 额外参数
        + `std::adopt_lock`
        + `std::try_to_lock`
        + `std::defer_lock`
    + 成员函数
        + `lock`
        + `unlock`
        + `release`
        + `owns_lock`

* 更新C++11多线程内容

更新内容:

+ `call_once`
+ `condition_variable`
    + `wait`
    + `notify_one`
    + `notify_all`
+ `async`
    + `std::launch::deferred`
    + `std::launch::async`
    + `std::deferred | std::launch::async`
+ `future`
    + `wait`
    + `get`
    + `wait_for`
    + `wait_until`
+ `future_status`
    + `ready`
    + `timeout`
    + `deferred`
+ `shared_future` a2cfd4e785
2022-12-31 13:56:22 +00:00
55b1c9c172 doc: update cpp.md (#254) b08cc85e41 2022-12-30 08:05:03 +00:00
20e3fadd4f doc: Update cpp.md (#254)
开始添加多线程部分,主要添加了线程的创建、销毁和this_thread的所有函数

尚未开始的内容:锁、互斥量、线程同步 db7a9aa6f9
2022-12-30 06:37:52 +00:00
ec4fa6176a doc: Update cpp.md (#246) b42883e3de 2022-12-26 08:11:56 +00:00
2e92a951d3 doc: Update cpp.md (#246)
补充了Lambda表达式的内容 f78562b95e
2022-12-26 02:33:21 +00:00
63aa12c584 doc: update README.md dc77e2bf7f 2022-11-26 10:31:11 +00:00
85f6066582 chore: compile document using refs-cli. d8a05dfbd5 2022-11-25 16:05:50 +00:00
45b67f7121 doc: update typescript.md 33ed20a7ea 2022-11-25 06:11:48 +00:00
a1d950e59f website: add search arrow selection. b41c170b0c 2022-11-21 16:19:28 +00:00
2b9d38d8a9 website: search input add palceholder. 473822f988 2022-11-20 11:19:00 +00:00
fccfe5bda7 website: update dark theme issue. 79dcdc7379 2022-11-19 19:39:17 +00:00
49357a2aa3 doc: update css.md 98eae38934 2022-11-19 19:29:25 +00:00
f412635104 website: add search data. #105 b034d7970d 2022-11-17 08:00:19 +00:00
c702fd5e1a doc: update cpp.md #77 7fe648c170 2022-11-17 05:45:24 +00:00
044600b018 website: update footer. #102 5c8b11767f 2022-11-17 05:29:10 +00:00
ba5c85edb1 feat: add cpp.md #77 51bd7303d1 2022-11-16 12:24:26 +00:00