nanogui: THREADSAFE and NONETWORK
Subject:
THREADSAFE and NONETWORK
From:
Alexander Neundorf ####@####.####
Date:
14 Dec 2005 21:20:32 +0000
Message-Id: <200512142220.07112.neundorf@kde.org>
Hi,
short question: which effect have these two defines ?
IOW, if everything runs in one process space, but in multiple threads, I guess
both NONETWORK and THREADSAFE are required. Why is THREADSAFE translated to
THREADSAFE_LINUX in lock.h ?
#if THREADSAFE
#define THREADSAFE_LINUX 1 /* use linux threadsafe routines*/
#endif
And what has to be protected by the locks ?
Bye
Alex
--
Work: ####@####.#### - http://www.jenoptik-los.de
Home: ####@####.#### - http://www.kde.org
####@####.#### - http://www.neundorf.net