summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfcolin2007-02-01 09:46:15 +0000
committerfcolin2007-02-01 09:46:15 +0000
commit05eed86bd7c88f8d42f6833ccaa2c39fb8b84bc5 (patch)
treee3b0ba6c6db86a0a557d3614f770a64af609d6b7
parent1a9b5a1e86ffe4ab7b15dbfef00e5c4e02c4a510 (diff)
downloadivy-csharp-05eed86bd7c88f8d42f6833ccaa2c39fb8b84bc5.zip
ivy-csharp-05eed86bd7c88f8d42f6833ccaa2c39fb8b84bc5.tar.gz
ivy-csharp-05eed86bd7c88f8d42f6833ccaa2c39fb8b84bc5.tar.bz2
ivy-csharp-05eed86bd7c88f8d42f6833ccaa2c39fb8b84bc5.tar.xz
Utilisateur : Fcolin Date : 4/11/03 Heure : 12:01 Archivé dans $/EScribe/Ivy Commentaire: (vss 10)
-rw-r--r--CSharp/Ivy/Ivy/IvyClient.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/CSharp/Ivy/Ivy/IvyClient.cs b/CSharp/Ivy/Ivy/IvyClient.cs
index faddee4..9451265 100644
--- a/CSharp/Ivy/Ivy/IvyClient.cs
+++ b/CSharp/Ivy/Ivy/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