On Tue, 6 May 2008 13:45:24 -0700 Roland Mainz wrote: > Just asking to be sure: |fts_open()|/|fts_read()|/etc. do not write to > any global variables within libast and is supposed to be threadsafe > assuming each thread manages it's own |FTS *| handle, right ?
each fts state is entirely in the fts_open() handle to be thread-safe all or all but one caller must use FTS_NOCHDIR if the system imposes a PATH_MAX limit then FTS_NOCHDIR will limit search pathname depth to PATH_MAX FTS_NOCHDIR limitations could be handled by opendirat() but the ast fts implementation does not iffe for opendirat() yet -- Glenn Fowler -- AT&T Research, Florham Park NJ --