mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
ipc -> threads
This commit is contained in:
parent
4b3278ad69
commit
581af369ef
@ -307,14 +307,16 @@
|
|||||||
#define MIKMOD_CONFIG libmikmod-config
|
#define MIKMOD_CONFIG libmikmod-config
|
||||||
#defer HAVE_MIKMOD $[bintest $[MIKMOD_CONFIG]]
|
#defer HAVE_MIKMOD $[bintest $[MIKMOD_CONFIG]]
|
||||||
|
|
||||||
// Do you want to build in support for threading (inter-process
|
// Do you want to build in support for threading (multiprocessing)?
|
||||||
// control)? What additional libraries are required? Currently, this
|
// Building in support for threading will enable Panda to take
|
||||||
// requires NSPR to compile correctly.
|
// advantage of multiple CPU's if you have them (and if the OS
|
||||||
#define IPC_IPATH
|
// supports kernel threads running on different CPU's), but it will
|
||||||
#define IPC_LPATH
|
// slightly slow down Panda for the single CPU case, so this is not
|
||||||
#define IPC_LIBS
|
// enabled by default.
|
||||||
//#defer HAVE_IPC $[HAVE_NSPR]
|
|
||||||
#define HAVE_IPC
|
// Currently, threading support requires NSPR, so you should not
|
||||||
|
// define this true unless you have NSPR installed.
|
||||||
|
#define HAVE_THREADS
|
||||||
|
|
||||||
// Do you want to build the network interface? What additional libraries
|
// Do you want to build the network interface? What additional libraries
|
||||||
// are required? Currently, this requires NSPR.
|
// are required? Currently, this requires NSPR.
|
||||||
|
@ -85,8 +85,8 @@ $[cdefine HAVE_SOXST]
|
|||||||
/* Define if we want to use mikmod for audio. */
|
/* Define if we want to use mikmod for audio. */
|
||||||
$[cdefine HAVE_MIKMOD]
|
$[cdefine HAVE_MIKMOD]
|
||||||
|
|
||||||
/* Define if we want to compile the ipc code. */
|
/* Define if we want to compile the threading code. */
|
||||||
$[cdefine HAVE_IPC]
|
$[cdefine HAVE_THREADS]
|
||||||
|
|
||||||
/* Define if we want to compile the net code. */
|
/* Define if we want to compile the net code. */
|
||||||
$[cdefine HAVE_NET]
|
$[cdefine HAVE_NET]
|
||||||
|
@ -165,10 +165,7 @@
|
|||||||
#set MIKMOD_CONFIG $[MIKMOD_CONFIG]
|
#set MIKMOD_CONFIG $[MIKMOD_CONFIG]
|
||||||
#set HAVE_MIKMOD $[HAVE_MIKMOD]
|
#set HAVE_MIKMOD $[HAVE_MIKMOD]
|
||||||
|
|
||||||
#set IPC_IPATH $[unixfilename $[IPC_IPATH]]
|
#set HAVE_THREADS $[HAVE_THREADS]
|
||||||
#set IPC_LPATH $[unixfilename $[IPC_LPATH]]
|
|
||||||
#set IPC_LIBS $[IPC_LIBS]
|
|
||||||
#set HAVE_IPC $[HAVE_IPC]
|
|
||||||
|
|
||||||
#set NET_IPATH $[unixfilename $[NET_IPATH]]
|
#set NET_IPATH $[unixfilename $[NET_IPATH]]
|
||||||
#set NET_LPATH $[unixfilename $[NET_LPATH]]
|
#set NET_LPATH $[unixfilename $[NET_LPATH]]
|
||||||
|
@ -217,12 +217,6 @@
|
|||||||
#define maya_libs $[MAYA_LIBS]
|
#define maya_libs $[MAYA_LIBS]
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if $[HAVE_IPC]
|
|
||||||
#define ipc_ipath $[wildcard $[IPC_IPATH]]
|
|
||||||
#define ipc_lpath $[wildcard $[IPC_LPATH]]
|
|
||||||
#define ipc_libs $[IPC_LIBS]
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if $[HAVE_NET]
|
#if $[HAVE_NET]
|
||||||
#define net_ipath $[wildcard $[NET_IPATH]]
|
#define net_ipath $[wildcard $[NET_IPATH]]
|
||||||
#define net_lpath $[wildcard $[NET_LPATH]]
|
#define net_lpath $[wildcard $[NET_LPATH]]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user