summaryrefslogtreecommitdiff
path: root/CSharp/Ivy/IvyPPC/IvyClient.cs
diff options
context:
space:
mode:
authorfcolin2007-02-01 09:57:41 +0000
committerfcolin2007-02-01 09:57:41 +0000
commit36df73bc9f6c6f7f36be6893a04fddab2a125c46 (patch)
tree6891aa215e7130d678338b48be28d200ba6d6ec7 /CSharp/Ivy/IvyPPC/IvyClient.cs
parent03e3fdd886beeb2bf75dadd34f339a962b979b54 (diff)
downloadivy-csharp-36df73bc9f6c6f7f36be6893a04fddab2a125c46.zip
ivy-csharp-36df73bc9f6c6f7f36be6893a04fddab2a125c46.tar.gz
ivy-csharp-36df73bc9f6c6f7f36be6893a04fddab2a125c46.tar.bz2
ivy-csharp-36df73bc9f6c6f7f36be6893a04fddab2a125c46.tar.xz
Utilisateur : Fcolin Date : 4/11/03 Heure : 12:01 Archivé dans $/EScribe/Ivy Commentaire: (vss 10)
Diffstat (limited to 'CSharp/Ivy/IvyPPC/IvyClient.cs')
-rw-r--r--CSharp/Ivy/IvyPPC/IvyClient.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/CSharp/Ivy/IvyPPC/IvyClient.cs b/CSharp/Ivy/IvyPPC/IvyClient.cs
index faddee4..9451265 100644
--- a/CSharp/Ivy/IvyPPC/IvyClient.cs
+++ b/CSharp/Ivy/IvyPPC/IvyClient.cs
@@ -161,9 +161,12 @@ namespace IvyBus
// initiate the connexion
send(MessageType.StartRegexp, bus.applicationPort, bus.appName);
// sends our regexps to the peer
- foreach (Int32 ikey in bus.regexp_out.Keys )
+ lock( bus.regexp_out.SyncRoot )
{
- sendRegexp(ikey, (String) bus.regexp_out[ikey]);
+ foreach (Int32 ikey in bus.regexp_out.Keys )
+ {
+ sendRegexp(ikey, (String) bus.regexp_out[ikey]);
+ }
}
send(MessageType.EndRegexp, 0, "");
// spawns a thread to manage the incoming traffic on this