This document describes how to add thread support to Ring applications using the ring_vm_mutexfunctions() and ring_vm_runcodefromthread() functions. It provides an example of creating threads using the ALLEGRO library and executing Ring code from the created threads. The code defines a thread function that takes a list containing the Ring VM, code string and other parameters. It locks the VM mutex, runs the code from the thread using ring_vm_runcodefromthread(), and unlocks the mutex when finished. Functions are also provided to create and run threads detached from the main program.