public int read()
 {
     readMutex.Claim();
     //A poison exception might be thrown, hence the try/finally:
     try
     {
         return(channel.read());
     }
     finally
     {
         readMutex.Release();
     }
 }
Beispiel #2
0
 public int read()
 {
     return(channel.read());
 }
 public override int read()
 {
     return(channel.read());
 }