<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: MEX ctrl-c interrupt	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/mex-ctrl-c-interrupt/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/mex-ctrl-c-interrupt?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mex-ctrl-c-interrupt</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Sat, 02 Jul 2016 10:23:44 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>
		By: Pavel Holoborodko		</title>
		<link>https://undocumentedmatlab.com/articles/mex-ctrl-c-interrupt#comment-382073</link>

		<dc:creator><![CDATA[Pavel Holoborodko]]></dc:creator>
		<pubDate>Sat, 02 Jul 2016 10:23:44 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6454#comment-382073</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/mex-ctrl-c-interrupt#comment-380824&quot;&gt;Ander Biguri&lt;/a&gt;.

It depends on where you call it. 

If you call it in a loop with small code size - slowdown might be significant (extra conditional &#038; far jump to non-inlined function call).

Check the second section of the article for more details: &lt;a href=&quot;http://www.advanpix.com/2016/07/02/devnotes-3-proper-handling-of-ctrl-c-in-mex-module/&quot; rel=&quot;nofollow&quot;&gt;Proper Handling of Ctrl-C in MEX Module&lt;/a&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/mex-ctrl-c-interrupt#comment-380824">Ander Biguri</a>.</p>
<p>It depends on where you call it. </p>
<p>If you call it in a loop with small code size &#8211; slowdown might be significant (extra conditional &amp; far jump to non-inlined function call).</p>
<p>Check the second section of the article for more details: <a href="http://www.advanpix.com/2016/07/02/devnotes-3-proper-handling-of-ctrl-c-in-mex-module/" rel="nofollow">Proper Handling of Ctrl-C in MEX Module</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/mex-ctrl-c-interrupt#comment-380825</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Mon, 20 Jun 2016 08:28:59 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6454#comment-380825</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/mex-ctrl-c-interrupt#comment-380824&quot;&gt;Ander Biguri&lt;/a&gt;.

@Ander - I do not believe that you will detect any noticeable performance decrease when using this mechanism.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/mex-ctrl-c-interrupt#comment-380824">Ander Biguri</a>.</p>
<p>@Ander &#8211; I do not believe that you will detect any noticeable performance decrease when using this mechanism.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ander Biguri		</title>
		<link>https://undocumentedmatlab.com/articles/mex-ctrl-c-interrupt#comment-380824</link>

		<dc:creator><![CDATA[Ander Biguri]]></dc:creator>
		<pubDate>Mon, 20 Jun 2016 08:09:54 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6454#comment-380824</guid>

					<description><![CDATA[Thanks for the post, very useful!
Any insight on how does this function affect the global performance of the mex function?]]></description>
			<content:encoded><![CDATA[<p>Thanks for the post, very useful!<br />
Any insight on how does this function affect the global performance of the mex function?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jeremy Johnson		</title>
		<link>https://undocumentedmatlab.com/articles/mex-ctrl-c-interrupt#comment-380672</link>

		<dc:creator><![CDATA[Jeremy Johnson]]></dc:creator>
		<pubDate>Fri, 17 Jun 2016 16:49:44 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6454#comment-380672</guid>

					<description><![CDATA[I know you don&#039;t usually discuss Simulink here, but would it be safe to assume that this applies to S-Functions as well since they are very similar to MEX functions?]]></description>
			<content:encoded><![CDATA[<p>I know you don&#8217;t usually discuss Simulink here, but would it be safe to assume that this applies to S-Functions as well since they are very similar to MEX functions?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jon Chappelow		</title>
		<link>https://undocumentedmatlab.com/articles/mex-ctrl-c-interrupt#comment-380501</link>

		<dc:creator><![CDATA[Jon Chappelow]]></dc:creator>
		<pubDate>Wed, 15 Jun 2016 22:56:12 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6454#comment-380501</guid>

					<description><![CDATA[I only knew of 2: utIsInterruptPending and utSetInterruptPending.  The two classes, utInterruptMode and utInterruptState, are news to me.  Very cool!

Since using them requires linking with libut, I include this library in the link list in my VS property sheets.  See here for details: http://stackoverflow.com/a/27391300/2778484

Thanks for the post, Yair!]]></description>
			<content:encoded><![CDATA[<p>I only knew of 2: utIsInterruptPending and utSetInterruptPending.  The two classes, utInterruptMode and utInterruptState, are news to me.  Very cool!</p>
<p>Since using them requires linking with libut, I include this library in the link list in my VS property sheets.  See here for details: <a href="http://stackoverflow.com/a/27391300/2778484" rel="nofollow ugc">http://stackoverflow.com/a/27391300/2778484</a></p>
<p>Thanks for the post, Yair!</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
