--- parser3/src/include/pa_threads.h 2001/09/26 10:32:25 1.17 +++ parser3/src/include/pa_threads.h 2001/11/05 11:46:26 1.20 @@ -2,9 +2,9 @@ Parser: mutex & helpers decls. Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) - Author: Alexander Petrosyan (http://design.ru/paf) + Author: Alexander Petrosyan (http://paf.design.ru) - $Id: pa_threads.h,v 1.17 2001/09/26 10:32:25 parser Exp $ + $Id: pa_threads.h,v 1.20 2001/11/05 11:46:26 paf Exp $ */ #ifndef PA_THREADS_H @@ -17,7 +17,7 @@ class AutoSYNCHRONIZED; /// simple semaphore object class Mutex { - friend AutoSYNCHRONIZED; + friend class AutoSYNCHRONIZED; private: uint handle; public: @@ -28,6 +28,7 @@ private: // for AutoSYNCHRONIZED void release(); }; +extern const bool parser_multithreaded; extern Mutex global_mutex; /**