[Motiftools-xmt-cvs] CVS: xmt Xmt.tmpl,1.7,1.8
Brought to you by:
motiftools
From: Grant M. <grm...@us...> - 2004-12-14 19:41:16
|
Update of /cvsroot/motiftools/xmt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19125 Modified Files: Xmt.tmpl Log Message: Add Xmt.tmpl define for pthreads (for background/parallel task util. function) Index: Xmt.tmpl =================================================================== RCS file: /cvsroot/motiftools/xmt/Xmt.tmpl,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** Xmt.tmpl 27 Oct 2003 21:29:05 -0000 1.7 --- Xmt.tmpl 14 Dec 2004 19:41:08 -0000 1.8 *************** *** 90,93 **** --- 90,100 ---- /* + * Determine whether to use POSIX threads or fork() for XmtBackgroundWorker. + * The default is to use fork; if you wish to use POSIX threads uncomment + * this line. + */ + THREADDEFINES = /* -DUSE_PTHREADS */ + + /* * Determine which form of errno -> string mapping your OS supports. * The default is set for an OS that supports strerror(). *************** *** 349,353 **** * file or client, we'll set them here. */ ! DEFINES = $(MEMDEFINES) $(OLDMOTIFDEFINES) $(BSDEFINES) $(HPDEFINES) $(DECDEFINES) $(IBMDEFINES) $(TEAROFFDEFINES) $(STRERRORDEFINES) $(SYSERRLISTDEFINES) $(XMTPPDEFINES) $(NUTCRACKERBUGDEFINES) $(DISABLEDNDDEFINES) $(USECOMPONENTDEFINES) /* --- 356,360 ---- * file or client, we'll set them here. */ ! DEFINES = $(MEMDEFINES) $(THREADDEFINES) $(OLDMOTIFDEFINES) $(BSDEFINES) $(HPDEFINES) $(DECDEFINES) $(IBMDEFINES) $(TEAROFFDEFINES) $(STRERRORDEFINES) $(SYSERRLISTDEFINES) $(XMTPPDEFINES) $(NUTCRACKERBUGDEFINES) $(DISABLEDNDDEFINES) $(USECOMPONENTDEFINES) /* |