RUVIDEO
Поделитесь видео 🙏

Live C++ coding: adding and testing threadsafe::UnlockedBase смотреть онлайн

Please switch manually to HD if required (youtube doesn't always do that, even when possible).

Current stream:
My https://github.com/CarloWood/threadsafe C++ "library" (git submodule, and cmake OBJECT library) has existed for roughly 6 years now. All this time it existed of a Wrapper class (now renamed to Unlocked) that wrapped a user class T together with an arbitrary (read/write) mutex, where it is only possible to access the underlying object by first obtaining a lock on that mutex.

Recently I am extending this to include two more objects, UnlockedBase and ConstUnlockedBase, that can be used as drop-in replacement for an Unlocked type, but that do not wrap an object but rather wrap a pointer to (a base class of) an object wrapped inside an Unlocked as well as a pointer to the mutex of that Unlocked.

The Const- version can subsequently only be used to obtain read-access to the underlying object (a `crat` or const-read-access-type, which can not be converted to a `rat` or `wat` (write-access-type; a rat CAN be converted to a wat).

This has parallels with the standard iterator and const_iterator types, that are also "pointers".
Note that there is no ConstUnlocked: since an ⟨UnlockedT, policy⟩ is derived from (a protected) T, the proper way to talk about a read-only Unlocked is by making it const (aka, an `Unlocked⟨T, ...⟩ const&`).

There are (still) three policies: ReadWrite, which requires a read/write mutex, Primitive, which requires a normal mutex like std::mutex, and OneThread which doesn't use a mutex but checks under the hood that access is single threaded (aka using external synchronization).

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Live C++ coding: adding and testing threadsafe::UnlockedBase» бесплатно и без регистрации, вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.