<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://hotline.ubersoft.org/Sputnik/wiki/skins/common/feed.css?301"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
		<id>http://hotline.ubersoft.org/Sputnik/wiki/index.php?action=history&amp;feed=atom&amp;title=Core_Function_ThreadSleep</id>
		<title>Core Function ThreadSleep - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://hotline.ubersoft.org/Sputnik/wiki/index.php?action=history&amp;feed=atom&amp;title=Core_Function_ThreadSleep"/>
		<link rel="alternate" type="text/html" href="http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_ThreadSleep&amp;action=history"/>
		<updated>2026-04-24T12:43:26Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.17.0</generator>

	<entry>
		<id>http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_ThreadSleep&amp;diff=5402&amp;oldid=prev</id>
		<title>UberFoX: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_ThreadSleep&amp;diff=5402&amp;oldid=prev"/>
				<updated>2015-06-14T12:38:45Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 12:38, 14 June 2015&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>UberFoX</name></author>	</entry>

	<entry>
		<id>http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_ThreadSleep&amp;diff=5401&amp;oldid=prev</id>
		<title>UberFoX: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_ThreadSleep&amp;diff=5401&amp;oldid=prev"/>
				<updated>2014-08-11T21:40:39Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 21:40, 11 August 2014&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>UberFoX</name></author>	</entry>

	<entry>
		<id>http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_ThreadSleep&amp;diff=914&amp;oldid=prev</id>
		<title>UberFoX: Created page with &quot;&lt;pre&gt; ThreadSleep( &lt;name&gt; ) &lt;/pre&gt;  === Description ===  Freeze a thread and make it sleep  === Parameters ===  ==== name ====  Name of a thread to sleep.  === Return Value ===  ...&quot;</title>
		<link rel="alternate" type="text/html" href="http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_ThreadSleep&amp;diff=914&amp;oldid=prev"/>
				<updated>2011-11-29T13:26:26Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;pre&amp;gt; ThreadSleep( &amp;lt;name&amp;gt; ) &amp;lt;/pre&amp;gt;  === Description ===  Freeze a thread and make it sleep  === Parameters ===  ==== name ====  Name of a thread to sleep.  === Return Value ===  ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
ThreadSleep( &amp;lt;name&amp;gt; )&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
&lt;br /&gt;
Freeze a thread and make it sleep&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
&lt;br /&gt;
==== name ====&lt;br /&gt;
&lt;br /&gt;
Name of a thread to sleep.&lt;br /&gt;
&lt;br /&gt;
=== Return Value ===&lt;br /&gt;
&lt;br /&gt;
Success: Returns 1.&lt;br /&gt;
&lt;br /&gt;
Failure: Returns 0.&lt;br /&gt;
&lt;br /&gt;
=== Remarks ===&lt;br /&gt;
&lt;br /&gt;
None&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sputnik&amp;quot;&amp;gt;&lt;br /&gt;
ThreadCreate(&amp;quot;th1&amp;quot;, &amp;quot;ThreadFunc();&amp;quot;);&lt;br /&gt;
ThreadCreate(&amp;quot;th2&amp;quot;, &amp;quot;ThreadFunc();&amp;quot;);&lt;br /&gt;
ThreadCreate(&amp;quot;th3&amp;quot;, &amp;quot;ThreadFunc();&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
println(&amp;quot;Lets sleep 2 seconds...&amp;quot;);&lt;br /&gt;
sleep(2000);&lt;br /&gt;
println(&amp;quot;Lets make thread 2 sleep...&amp;quot;);&lt;br /&gt;
ThreadSleep(&amp;quot;th2&amp;quot;);&lt;br /&gt;
println(&amp;quot;Thread 2 is sleeping.... Now lets sleep for 3 seconds&amp;quot;);&lt;br /&gt;
sleep(3000);&lt;br /&gt;
ThreadResume(&amp;quot;th2&amp;quot;);&lt;br /&gt;
println(&amp;quot;Thread 2 is now resumed&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
inputc();&lt;br /&gt;
&lt;br /&gt;
Function ThreadFunc()&lt;br /&gt;
{&lt;br /&gt;
	while(true)&lt;br /&gt;
	{&lt;br /&gt;
		println(&amp;quot;Hello from thread '&amp;quot; . ThreadName() . &amp;quot;'&amp;quot;);&lt;br /&gt;
		sleep(500);&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Core Function]]&lt;/div&gt;</summary>
		<author><name>UberFoX</name></author>	</entry>

	</feed>