<?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: Resizing 2D arrays</title>
	<atom:link href="http://blog.nickgravelyn.com/2010/03/resizing-2d-arrays/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.nickgravelyn.com/2010/03/resizing-2d-arrays/</link>
	<description></description>
	<lastBuildDate>Fri, 23 Jul 2010 01:34:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Johnatan17</title>
		<link>http://blog.nickgravelyn.com/2010/03/resizing-2d-arrays/comment-page-1/#comment-445</link>
		<dc:creator>Johnatan17</dc:creator>
		<pubDate>Fri, 02 Apr 2010 03:56:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nickgravelyn.com/?p=1497#comment-445</guid>
		<description>Hi Nick, I have followed your blog and your post (here and codeplex) all the time, so I can see that you&#039;ve too much experience in many fields, with that in mind I was wondering if you can clarify some points about XNA due to my next project:

I&#039;m almost ready with the initial part of a lobby interface (on WPF), and started to call what I have done till now in XNA, ... but (Maybe I missunderstood) apparently contentmanager is not thread safe and additionally I can&#039;t write to the GPU for more that one thread at a time. I&#039;m not using viewport instead I&#039;m loading one game per thread ... till maximum of four (thread.start (new game()).

Scennario:
Lobby:
Shows the user four different king of games (Domino, Cards, Chess, Ludo, just to mention some of them). Each game has many rooms related to them.

* If the player like to join to chess room, then: 
Lobby call and load the game in a thread: (thread = new thread(game).start)
* The previous happen for each room where a player like to join.

Now:
- To avoid loading many times (per thread) assets, I like to share contentmanager and loaded just the first time (main thread) when joined to a room and later share. ??
- Is possible that each game (per thread) can write to the gpu and show correctly its concerned game with no problems/throubles?

Please, I like some details (if possible) to understand better this approach.

Thanks in advance
JJ.</description>
		<content:encoded><![CDATA[<p>Hi Nick, I have followed your blog and your post (here and codeplex) all the time, so I can see that you&#8217;ve too much experience in many fields, with that in mind I was wondering if you can clarify some points about XNA due to my next project:</p>
<p>I&#8217;m almost ready with the initial part of a lobby interface (on WPF), and started to call what I have done till now in XNA, &#8230; but (Maybe I missunderstood) apparently contentmanager is not thread safe and additionally I can&#8217;t write to the GPU for more that one thread at a time. I&#8217;m not using viewport instead I&#8217;m loading one game per thread &#8230; till maximum of four (thread.start (new game()).</p>
<p>Scennario:<br />
Lobby:<br />
Shows the user four different king of games (Domino, Cards, Chess, Ludo, just to mention some of them). Each game has many rooms related to them.</p>
<p>* If the player like to join to chess room, then:<br />
Lobby call and load the game in a thread: (thread = new thread(game).start)<br />
* The previous happen for each room where a player like to join.</p>
<p>Now:<br />
- To avoid loading many times (per thread) assets, I like to share contentmanager and loaded just the first time (main thread) when joined to a room and later share. ??<br />
- Is possible that each game (per thread) can write to the gpu and show correctly its concerned game with no problems/throubles?</p>
<p>Please, I like some details (if possible) to understand better this approach.</p>
<p>Thanks in advance<br />
JJ.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
