this_thread.yield

Synopsis

local this_thread = require 'this_thread'

this_thread.yield()

Description

Provides a hint to the implementation to reschedule the execution of threads, allowing other threads to run.