[#BloombergLP-bslmt-ThreadUtilImpl-04-yield]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ThreadUtilImpl-04.adoc[ThreadUtilImpl&lt;Platform::PosixThreads&gt;]::yield
:relfileprefix: ../../../
:mrdocs:

Put the current thread to the end of the scheduler&apos;s queue and schedule another thread to run&period; This allows cooperating threads of the same priority to share CPU resources equally&period;

== Synopsis

Declared in `&lt;bslmt&lowbar;threadutilimpl&lowbar;pthread&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
yield();
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
