(_cygtls::init_thread): Seed random number generator on a per-thread basis.
+2010-12-29 Christopher Faylor <me+cygwin@cgf.cx>
+
+ * cygtls.cc: Include stdlib.h.
+ (_cygtls::init_thread): Seed random number generator on a per-thread
+ basis.
+
2010-12-27 Christopher Faylor <me+cygwin@cgf.cx>
* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR to 234.
#define USE_SYS_TYPES_FD_SET
#include "cygtls.h"
#include <syslog.h>
+#include <stdlib.h>
#include "path.h"
#include "fhandler.h"
#include "dtable.h"
}
local_clib._current_locale = "C";
locals.process_logmask = LOG_UPTO (LOG_DEBUG);
+ srand48 ((long int) &x);
}
thread_id = GetCurrentThreadId ();