Implement background work in SC::Async event loop. Sane C++ Libraries [ep.16]

Описание к видео Implement background work in SC::Async event loop. Sane C++ Libraries [ep.16]

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

In this video I implement AsyncLoopWork on the SC::Async library.
This allows executing arbitrary blocking work on a background thread with a notification on the Event Loop. The background thread comes from SC::ThreadPool.

The code created during the video has been cleaned up and committed to:
https://github.com/Pagghiu/SaneCppLib...
and
https://github.com/Pagghiu/SaneCppLib...

0:00 Intro
0:51 Check libuv_queue_work
2:48 Get rid of needing ThreadPool::Task
16:20 Recap of the AsyncTask Refactoring
18:37 Implement new AsyncLoopWork
26:00 Add a test for AsyncLoopWork
37:25 Recap / Conclusion

Комментарии

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