Explorar el Código

rename_to() and copy_to() are heavy operations and should be BLOCKING

David Rose hace 12 años
padre
commit
c32becb2a1
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      dtool/src/dtoolutil/filename.h

+ 2 - 2
dtool/src/dtoolutil/filename.h

@@ -213,8 +213,8 @@ PUBLISHED:
   bool chdir() const;
   bool touch() const;
   bool unlink() const;
-  bool rename_to(const Filename &other) const;
-  bool copy_to(const Filename &other) const;
+  BLOCKING bool rename_to(const Filename &other) const;
+  BLOCKING bool copy_to(const Filename &other) const;
 
   bool make_dir() const;
   bool mkdir() const;