Kaynağa Gözat

blocking methods

David Rose 16 yıl önce
ebeveyn
işleme
539737278b
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      panda/src/net/connection.h

+ 2 - 2
panda/src/net/connection.h

@@ -44,8 +44,8 @@ PUBLISHED:
   void set_collect_tcp_interval(double interval);
   void set_collect_tcp_interval(double interval);
   double get_collect_tcp_interval() const;
   double get_collect_tcp_interval() const;
 
 
-  bool consider_flush();
-  bool flush();
+  BLOCKING bool consider_flush();
+  BLOCKING bool flush();
 
 
   // Socket options.
   // Socket options.
   //  void set_nonblock(bool flag);
   //  void set_nonblock(bool flag);