From c32becb2a1c141440d098c2d6366afbd9c8c49be Mon Sep 17 00:00:00 2001 From: David Rose Date: Fri, 12 Apr 2013 03:36:49 +0000 Subject: [PATCH] rename_to() and copy_to() are heavy operations and should be BLOCKING --- dtool/src/dtoolutil/filename.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dtool/src/dtoolutil/filename.h b/dtool/src/dtoolutil/filename.h index e053b38818..760ccf5ff7 100644 --- a/dtool/src/dtoolutil/filename.h +++ b/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;