@@ -1,7 +1,7 @@ /* - * Copyright (c) 2008 - 2009 + * Copyright (c) 2008 - 2010 * Jonathan Schleifer * * All rights reserved. * * This file is part of ObjFW. It may be distributed under the terms of the @@ -17,17 +17,19 @@ #import #import "threading.h" +/// \cond internal struct locks_s { id obj; size_t count; size_t recursion; of_thread_t thread; of_mutex_t mutex; }; +/// \endcond static of_mutex_t mutex; static struct locks_s *locks = NULL; static size_t num_locks = 0;