[comp.windows.x] xnews font race condition

janssen@parc.xerox.COM (11/03/89)

Category:          x11news
Subcategory:       font
Bug/Rfe:           bug
Synopsis:          adding font directory causes race condition
Severity:          3
Priority:          2
Description:

	Add font directory containing >100 fonts to font path with
	XSetFontPath().  Look for font known to be in directory,
	using XListFonts().  Notice font not found.  Reset font path,
	retry.  Notice font not found.  Reset font path.  Try again,
	but add 4 second sleep between XSetFontPath() and XListFonts().
        Notice font now found.  (Use wild card asterisks when specifying
	font name.)

Work around:  

	4 second sleep after each call to XSetFontPath().

Suggested fix: 

	None known.

Called in by:
    Customer:
        Company:     Xerox
        Employee:    Bill Janssen   (janssen.pa@xerox.com)
        Release:     1.0
        Hardware version: sun4
        O/S version: 4.0.3