Async file read and writes using Thread Pool! Sane C++ Libraries [ep.14]

Описание к видео Async file read and writes using Thread Pool! Sane C++ Libraries [ep.14]

  / discord  
  / pagghiu_  
https://mastodon.gamedev.place/@pagghiu
https://github.com/Pagghiu/SaneCppLib...

Here I am using the ThreadPool class developed in the previous video, to seamlessly (and optionally) run AsyncReadFile and AsyncWriteFile on a thread so that file read and writes can be actually asynchronous on APIs that don't actually allow async read/writes for regular buffered files!

Blog:
February 2024 Update: https://pagghiu.github.io/site/blog/2...

0:00 Introduction
1:10 Issue description
3:42 Create AsyncTask
9:55 Adapt File Read/Write Test
13:57 Add task parameter to ::start
16:45 Modify Setup Phase
18:46 Modify Activate Phase
27:47 ThreadSafeLinkedList
34:24 Add ThreadPool Completions Linked List
36:50 Modify Complete Phase
43:00 Run Test
47:04 Conclusion

Комментарии

Информация по комментариям в разработке