nanogui: THREADSAFE and NONETWORK
Subject:
Re: [nanogui] THREADSAFE and NONETWORK
From:
Alexander Neundorf ####@####.####
Date:
14 Dec 2005 21:35:13 +0000
Message-Id: <200512142235.00890.neundorf@kde.org>
On Wednesday 14 December 2005 22:20, Alexander Neundorf wrote:
> 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 does it have to be a recursive mutex ? Or does a "normal" one suffice ?
Alex
--
Work: ####@####.#### - http://www.jenoptik-los.de
Home: ####@####.#### - http://www.kde.org
####@####.#### - http://www.neundorf.net