nanogui: THREADSAFE and NONETWORK


Previous by date: 14 Dec 2005 21:20:32 +0000 Re: size of viewml, Greg Haerr
Next by date: 14 Dec 2005 21:20:32 +0000 Re: THREADSAFE and NONETWORK, Alexander Neundorf
Previous in thread:
Next in thread: 14 Dec 2005 21:20:32 +0000 Re: THREADSAFE and NONETWORK, Alexander Neundorf

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

Previous by date: 14 Dec 2005 21:20:32 +0000 Re: size of viewml, Greg Haerr
Next by date: 14 Dec 2005 21:20:32 +0000 Re: THREADSAFE and NONETWORK, Alexander Neundorf
Previous in thread:
Next in thread: 14 Dec 2005 21:20:32 +0000 Re: THREADSAFE and NONETWORK, Alexander Neundorf


Powered by ezmlm-browse 0.20.