From 0d4e6dbe6f17d0a8d0f93833c1ea70f79944d945 Mon Sep 17 00:00:00 2001 From: Michael Still Date: Tue, 23 Oct 2012 14:25:25 -0700 Subject: Migrate to fileutils and lockutils. Migrate nova to using openstack-common's file and lock utilities. Resolves bug 1063230. Change-Id: I1a4c87856bc08cd33b61d7098ed856baa4583654 --- doc/source/devref/threading.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/source') diff --git a/doc/source/devref/threading.rst b/doc/source/devref/threading.rst index 356ca2f6f..f1ab0cc06 100644 --- a/doc/source/devref/threading.rst +++ b/doc/source/devref/threading.rst @@ -12,7 +12,7 @@ view, each OpenStack service runs in a single thread. The use of green threads reduces the likelihood of race conditions, but does not completely eliminate them. In some cases, you may need to use the -``@utils.synchronized(...)`` decorator to avoid races. +``@lockutils.synchronized(...)`` decorator to avoid races. In addition, since there is only one operating system thread, a call that blocks that main thread will block the entire process. -- cgit