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