Locks-and-keys (computing)

id: locks-and-keys-computing-171-8231620
title: Locks-and-keys (computing)
text: Locks-and-keys is a solution to dangling pointers in computer programming languages. The locks-and-keys approach represents pointers as ordered pairs where the key is an integer value. Heap-dynamic variables are represented as the storage for the variable plus a cell for an integer lock value. When a variable is allocated, a lock value is created and placed both into the variable's cell and into the pointer's key cell. Every access to the pointer compares these two values, and access is allowed
brand slug: wiki
category slug: encyclopedia
description:
original url: https://en.wikipedia.org/wiki/Locks-and-keys_(computing)
date created: 2005-10-17T00:08:53Z
date modified: 2024-09-01T07:39:02Z
main entity: {"identifier":"Q6665786","url":"https://www.wikidata.org/entity/Q6665786"}
image:
fields total: 13
integrity: 14

Related Entries

Explore Next Part