<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: object_notify() and thread safety</title>
		<atom:link href="http://cycling74.com/forums/topic/object_notify-and-thread-safety/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/object_notify-and-thread-safety/feed</link>
		<description></description>
		<pubDate>Thu, 20 Jun 2013 03:39:05 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/object_notify-and-thread-safety/#post-52036</guid>
					<title><![CDATA[object_notify() and thread safety]]></title>
					<link>http://cycling74.com/forums/topic/object_notify-and-thread-safety/#post-52036</link>
					<pubDate>Sun, 29 Aug 2010 14:35:24 +0000</pubDate>
					<dc:creator>Siska Ádám</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Developers,</p>
<p>does anyone know whether the &#8216;listener&#8217; methods triggered by an <code>object_notify()</code> message would run in the same thread as the method that called the corresponding <code>object_notify()</code>? What I would like to achieve is to pass a <code>std::vector</code> as the <code>data parameter of the</code><code>object_notify()</code> and when each listener finished dealing with the vector, I&#8217;d need to clear it. The question is whether I could simply call <code>vector.clear()</code> after <code>object_notify()</code> or if I should implement some mechanism that makes my caller thread wait until every listener finished dealing with the vector?</p>
<p>Thanks,<br />
Ádám</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/object_notify-and-thread-safety/#post-186892</guid>
					<title><![CDATA[Re: object_notify() and thread safety]]></title>
					<link>http://cycling74.com/forums/topic/object_notify-and-thread-safety/#post-186892</link>
					<pubDate>Tue, 07 Sep 2010 23:51:07 +0000</pubDate>
					<dc:creator>Joshua Kit Clayton</dc:creator>

					<description>
						<![CDATA[
						<p>object_notify() is a synchronous operation.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

