Skip site navigation (1) Skip section navigation (2)

pgsql-server/src/tools/thread thread_test.c

From: momjian(at)svr1(dot)postgresql(dot)org (Bruce Momjian)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/src/tools/thread thread_test.c
Date: 2004-04-05 14:12:32
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-committers
CVSROOT:	/cvsroot
Module name:	pgsql-server
Changes by:	momjian(at)svr1(dot)postgresql(dot)org	04/04/05 11:12:32

Modified files:
	src/tools/thread: thread_test.c 

Log message:
	Change getpid() while loop to use sched_yield(), greatly speeds up test.
	sched_yield is a requirement for the test but not for our PostgreSQL
	code, so if it causes a portability problem, we will remove it.

pgsql-committers by date

Next:From: Bruce MomjianDate: 2004-04-05 14:13:45
Subject: pgsql-server/src/tools/thread thread_test.c
Previous:From: Peter EisentrautDate: 2004-04-05 09:34:11
Subject: pgsql-server/src/bin/psql po/sk.po

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group