Live C++ coding: Applying threadsafe::ObjectTracker to cppgraphviz. смотреть онлайн
Please switch manually to HD if required (youtube doesn't always do that, even when possible).
This stream:
I successfully make a tracker for threadsafe (Unlocked) objects.
That means this: an object that wraps some class and a mutex (which can be read/write mutex) making it impossible to access that class without locking the mutex, enforced by the API (this is what https://github.com/CarloWood/threadsafe has been doing since 2015) but now this is combined with an object tracker: at the moment the above wrapper is constructed also a tracker is constructed and placed on the heap. Other threads can get access to this tracker through a std::weak_ptr (while the wrapper class has a shared_ptr to it). Whenever the wrapper is moved, the tracker is updated to point to the new location, all in a thread-safe way.
However, now that I tried to apply this new API to cppgraphviz I run into a problem that I had to workaround before (and thus thought it was fixed): during construction of one of the objects the compiler complains that a certain class is incomplete. This appears to be caused by a "circular" dependency of the template classes involved. All in all, very very difficult stuff to understand and fix :/.
Continuation of:
Back to cppgraphviz - I need to make it threadsafe still.
Everything compiles and works right now (finished it yesterday off-stream). Today I'll
1) check if there is anything left in classes in namespace dot that isn't protected by a mutex yet.
2) find all members of classes in namespace cppgraphviz that need to be make threadsafe.
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Live C++ coding: Applying threadsafe::ObjectTracker to cppgraphviz.» бесплатно и без регистрации, вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.