Questionalbe command line defines for Cygwin/XFree86

Suhaib Siddiqi ssiddiqi@inspirepharm.com
Sun Apr 8 17:41:00 GMT 2001


 ThreadSafeX API needs a complete pthread library.  Do we have pthread by
default in Cygwin?  My understanding is no, and I do not want to enable
something on custom DLLs because that will create a support nightmare.

Suhaib

-----Original Message-----
From: Robert Collins
To: Harold Hunt; Cygx (E-mail)
Sent: 4/8/2001 8:20 PM
Subject: RE: Questionalbe command line defines for Cygwin/XFree86

If you guys can provide some pointers on missing thread code I will
endeavour to supply it. FWIW I have a threadglib running here...

Rob

 

> -----Original Message-----
> From: Harold Hunt [ mailto:huntharo@msu.edu ]
> Sent: Monday, April 09, 2001 10:18 AM
> To: Cygx (E-mail)
> Subject: Questionalbe command line defines for Cygwin/XFree86
> 
> 
> In debugging the freezes and crashes, I've noticed a couple 
> of symbols that
> are defined on the command line.  I don't really like the 
> looks of any of
> these, and I've tried to get rid of a few of them, but I'd 
> like input on
> what they do, and whether other people think we need them.
> 
> -DBUILDDEBUG
> 	Happens even when not doing a debug build.
> -DXTEST
> 	There is some code in WaitFor.c that runs when
> 	XTESTEXT1 is defined; I'm wondering if XTEST
> 	causes XTESTEXT1 to become defined.
> -DSCREENSAVER
> 	We can't really have a screen saver, so why
> 	would we need this?  This could possibly
> 	be affecting the timeout value in WaitFor.c.
> -D_REENTRANT
> 	Cygwin.cf defines ThreadedX and HasThreadSafeAPI
> 	to NO, so what are we allowing to be reentrant?
> 
> Input on this, and our pointers as to how to undefine these 
> symbols would be
> appreciated.
> 
> Harold
> 
> 



More information about the Cygwin-xfree mailing list