<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://frp.sage.fr/wiki1000/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
		<id>https://frp.sage.fr/wiki1000/index.php?action=history&amp;feed=atom&amp;title=Transaction_m%C3%A9moire_isol%C3%A9e_%28parallel%29</id>
		<title>Transaction mémoire isolée (parallel) - Historique des versions</title>
		<link rel="self" type="application/atom+xml" href="https://frp.sage.fr/wiki1000/index.php?action=history&amp;feed=atom&amp;title=Transaction_m%C3%A9moire_isol%C3%A9e_%28parallel%29"/>
		<link rel="alternate" type="text/html" href="https://frp.sage.fr/wiki1000/index.php?title=Transaction_m%C3%A9moire_isol%C3%A9e_(parallel)&amp;action=history"/>
		<updated>2026-04-12T19:41:07Z</updated>
		<subtitle>Historique pour cette page sur le wiki</subtitle>
		<generator>MediaWiki 1.18.6</generator>

	<entry>
		<id>https://frp.sage.fr/wiki1000/index.php?title=Transaction_m%C3%A9moire_isol%C3%A9e_(parallel)&amp;diff=5883&amp;oldid=prev</id>
		<title>Syfre le 17 octobre 2011 à 08:01</title>
		<link rel="alternate" type="text/html" href="https://frp.sage.fr/wiki1000/index.php?title=Transaction_m%C3%A9moire_isol%C3%A9e_(parallel)&amp;diff=5883&amp;oldid=prev"/>
				<updated>2011-10-17T08:01:05Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Version précédente&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Version du 17 octobre 2011 à 08:01&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 30 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 30 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;end;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;end;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;{{tip|Notez l'utilisation de '''private''' pour allouer une nouvelle transaction ; sans cette option chaque exécuteur partagerait la même transaction.}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Parallèle]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Parallèle]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Syfre</name></author>	</entry>

	<entry>
		<id>https://frp.sage.fr/wiki1000/index.php?title=Transaction_m%C3%A9moire_isol%C3%A9e_(parallel)&amp;diff=5872&amp;oldid=prev</id>
		<title>Syfre : Page créée avec « Un transaction mémoire par exécuteur :  &lt;source lang=&quot;delphi&quot;&gt; //Procedure doProcess(inst:WFClasseA); var inst:WFClasseA; begin   // One separate transaction   // Use priva… »</title>
		<link rel="alternate" type="text/html" href="https://frp.sage.fr/wiki1000/index.php?title=Transaction_m%C3%A9moire_isol%C3%A9e_(parallel)&amp;diff=5872&amp;oldid=prev"/>
				<updated>2011-10-17T07:35:32Z</updated>
		
		<summary type="html">&lt;p&gt;Page créée avec « Un transaction mémoire par exécuteur :  &amp;lt;source lang=&amp;quot;delphi&amp;quot;&amp;gt; //Procedure doProcess(inst:WFClasseA); var inst:WFClasseA; begin   // One separate transaction   // Use priva… »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Un transaction mémoire par exécuteur :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;delphi&amp;quot;&amp;gt;&lt;br /&gt;
//Procedure doProcess(inst:WFClasseA);&lt;br /&gt;
var inst:WFClasseA;&lt;br /&gt;
begin&lt;br /&gt;
  // One separate transaction&lt;br /&gt;
  // Use private to allocate a new transaction in a new context&lt;br /&gt;
  withP  private Transaction do&lt;br /&gt;
   begin&lt;br /&gt;
     inst.unCode := 'X'+inttostr(index);&lt;br /&gt;
     inst.Caption := 'Objet A'+inttostr(index);&lt;br /&gt;
     inst.unEntier := 1+Trunc(Random(100));&lt;br /&gt;
   end;&lt;br /&gt;
end;&lt;br /&gt;
&lt;br /&gt;
//Procedure ProcessSomeA(AList:WFClasseAList);&lt;br /&gt;
var tk:Int64;&lt;br /&gt;
begin&lt;br /&gt;
  tk := GetTickCount;&lt;br /&gt;
  try&lt;br /&gt;
  foreachP var inst in AList do &lt;br /&gt;
   begin&lt;br /&gt;
    parallel dProcess(inst);&lt;br /&gt;
   end;&lt;br /&gt;
  finally&lt;br /&gt;
  tk := GetTickCount-tk;&lt;br /&gt;
  showmessage(Format('%s ms',[TickToString(tk)]));&lt;br /&gt;
  end;&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Parallèle]]&lt;/div&gt;</summary>
		<author><name>Syfre</name></author>	</entry>

	</feed>