Concurrency control

Reentrant mutex

In computer science, the reentrant mutex (recursive mutex, recursive lock) is a particular type of mutual exclusion (mutex) device that may be locked multiple times by the same process/thread, without causing a deadlock. While any attempt to perform the "lock" operation on an ordinary mutex (lock) would either fail or block when the mutex is already locked, on a recursive mutex this operation will succeed if and only if the locking thread is the one that already holds the lock. Typically, a recursive mutex tracks the number of times it has been locked, and requires equally many unlock operations to be performed before other threads may lock it. (Wikipedia).

Video thumbnail

Rearrange a series

In this video, I define what it means to rearrange (or reshuffle) a series and show that if a series converges absolutely, then any rearrangement of the series converges to the same limit. Interesting Consequence: https://youtu.be/Mw7ocynGVmw Series Playlist: https://www.youtube.com/play

From playlist Series

Video thumbnail

Lec 15 | MIT 6.172 Performance Engineering of Software Systems, Fall 2010

Lecture 15: Nondeterministic Programming Instructor: Charles Leiserson View the complete course: http://ocw.mit.edu/6-172F10 License: Creative Commons BY-NC-SA More information at http://ocw.mit.edu/terms More courses at http://ocw.mit.edu

From playlist MIT 6.172 Performance Engineering of Software Systems

Video thumbnail

16. Nondeterministic Parallel Programming

MIT 6.172 Performance Engineering of Software Systems, Fall 2018 Instructor: Charles Leiserson View the complete course: https://ocw.mit.edu/6-172F18 YouTube Playlist: https://www.youtube.com/playlist?list=PLUl4u3cNGP63VIBQVWguXxZZi0566y7Wf Prof. Leiserson discusses nondeterministic paral

From playlist MIT 6.172 Performance Engineering of Software Systems, Fall 2018

Video thumbnail

0045 - Custom C++ Web Server: temporary IP address blacklisting

This is #45 in my series of live (Twitch) coding streams, working on writing my own web server and service framework in C++. This stream I fixed a couple deadlock issues in the server, and implemented a ban/blacklist system to ignore clients that send bad requests or spam the server with

From playlist Excalibur

Video thumbnail

ilectureonline Year 1 Bloopers Video

Visit http://ilectureonline.com for more math and science lectures! This video is a collection of some of Mike van Biezen's bloopers. Enjoy and have a good laugh!!! :D

From playlist BLOOPERS

Video thumbnail

Doomsday Prepper Tips: Rehydration | Doomsday Preppers

In an emergency without an IV? Try this recipe for rehydration. ➡ Subscribe: http://bit.ly/NatGeoSubscribe About National Geographic: National Geographic is the world's premium destination for science, exploration, and adventure. Through their world-class scientists, photographers, journa

From playlist Doomsday Preppers | National Geographic

Video thumbnail

Hitler gets a Haircut.

1efMxkzVHzyLaTFcvXZ9GKLKrB7MBmbKT

From playlist Interviews and Shows

Video thumbnail

0040 (part 2) - Custom C++ Web Server: working towards live hosting

This is #40 in my series of live (Twitch) coding streams, working on writing my own web server and service framework in C++. This stream I worked on fixing some network connection bugs and completing the update to my chat room. I'm working towards making a live demonstration that my view

From playlist Excalibur

Video thumbnail

Reuploaded: https://youtu.be/oGDAov8TjCg

Reuploaded: https://youtu.be/oGDAov8TjCg

From playlist Pint of Science!

Video thumbnail

A.I. Just Designed An Enzyme That Eats Plastic

» Podcast I Co-host: https://www.youtube.com/channel/UC6jKUaNXSnuW52CxexLcOJg » ColdFusion Discord: https://discord.gg/coldfusion » Twitter | @ColdFusion_TV » Instagram | coldfusiontv --- About ColdFusion --- ColdFusion is an Australian based online media company independently run by Dag

From playlist Technology

Video thumbnail

0039 - Custom C++ Web Server: making a "safe" chat room

This is #39 in my series of live (Twitch) coding streams, working on writing my own web server and service framework in C++. This stream I worked on redesigning my "chat room" to be a safe but hopefully still fun experiment that I can put online for my viewers to play with. It will be a

From playlist Excalibur

Video thumbnail

Seminar Talk by S V Bhat

URL: https://www.icts.res.in/program/glass2010 DATES: 04 January 2010 to 20 January 2010 VENUE : Conference Hall, Jawaharlal Nehru Centre for Advanced Scientific Research (JNCASR) DESCRIPTION: This two week long school will survey the state-of-the-art in theory and experiment aimed at

From playlist School on glass formers and glasses

Video thumbnail

[c][explained] Demystifying Pointers — Function Pointers

Find the complete program on https://www.notion.so/theteachr/Function-Pointers-9848de630cae47a7ad1ca5552d23a66d.

From playlist Demystifying Pointers

Video thumbnail

Organolithium Reagents

We've seen one organometallic reagent before, the Grignard reagent. That had magnesium in it. Well now let's learn another! Organolithium reagents are commonly used, so let's see what they do. Watch the whole Organic Chemistry playlist: http://bit.ly/ProfDaveOrgChem General Chemistry Tut

From playlist Organic Chemistry

Video thumbnail

Re-entrant direct hexagonal phases in a lyotropic system of surfactant... by Syed Mohammad Kamil

DISCUSSION MEETING: 7TH INDIAN STATISTICAL PHYSICS COMMUNITY MEETING ORGANIZERS : Ranjini Bandyopadhyay, Abhishek Dhar, Kavita Jain, Rahul Pandit, Sanjib Sabhapandit, Samriddhi Sankar Ray and Prerna Sharma DATE: 19 February 2020 to 21 February 2020 VENUE: Ramanujan Lecture Hall, ICTS Ba

From playlist 7th Indian Statistical Physics Community Meeting 2020

Video thumbnail

MountainWest JavaScript 2015 - Why would we ever build a distributed computing platform in node?

Why would we ever build a distributed computing platform in node?by Gord Tanner bitHound is a JavaScript shop. We have been working with JavaScript for a few years and have a major appreciation for the power and speed of which we can build in nodeJS. When we set out to start building bitH

From playlist MWJS 2015

Video thumbnail

0053 - C++ Programming: Diving into TLS

This is #53 in my series of live (Twitch) coding streams, working on writing my own web server and service framework in C++. This stream I experimented with TLS, using libtls from LibreSSL. I tried to add TLS support to Rover, and succeeded!

From playlist Excalibur

Related pages

If and only if | Pseudocode | Deadlock | Reentrancy (computing) | Mutual exclusion | Object (computer science) | Monitor (synchronization)