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

	<entry>
		<id>http://ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_ThreadKill&amp;diff=5398&amp;oldid=prev</id>
		<title>UberFoX: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_ThreadKill&amp;diff=5398&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://ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_ThreadKill&amp;diff=5397&amp;oldid=prev</id>
		<title>UberFoX: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_ThreadKill&amp;diff=5397&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://ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_ThreadKill&amp;diff=912&amp;oldid=prev</id>
		<title>UberFoX: Created page with &quot;&lt;pre&gt; ThreadKill( &lt;name&gt; ) &lt;/pre&gt;  === Description ===  Terminate a thread and remove it from the script  === Parameters ===  ==== name ====  Name of a thread to check.  === Retu...&quot;</title>
		<link rel="alternate" type="text/html" href="http://ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_ThreadKill&amp;diff=912&amp;oldid=prev"/>
				<updated>2011-11-29T12:54:30Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;pre&amp;gt; ThreadKill( &amp;lt;name&amp;gt; ) &amp;lt;/pre&amp;gt;  === Description ===  Terminate a thread and remove it from the script  === Parameters ===  ==== name ====  Name of a thread to check.  === Retu...&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;
ThreadKill( &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;
Terminate a thread and remove it from the script&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 check.&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 and throws an exception.&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;Will wait 3 seconds then terminate threads 2 and 3&amp;quot;);&lt;br /&gt;
sleep(3000);&lt;br /&gt;
ThreadKill(&amp;quot;th2&amp;quot;);&lt;br /&gt;
ThreadKill(&amp;quot;th3&amp;quot;);&lt;br /&gt;
println(&amp;quot;Threads 2 and 3 are killed&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(1000);&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>