Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jan 2008 15:16:49 GMT
From:      Steve Wise <swise@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 132889 for review
Message-ID:  <200801091516.m09FGnu4046911@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=132889

Change 132889 by swise@swise:vic10:iwarp on 2008/01/09 15:16:41

	Set state to ERROR if the user interrupts a sleep.

Affected files ...

.. //depot/projects/iwarp/sys/contrib/rdma/krping/krping.c#4 edit

Differences ...

==== //depot/projects/iwarp/sys/contrib/rdma/krping/krping.c#4 (text+ko) ====

@@ -212,6 +212,7 @@
 	while (cb->state < state) {
 		msleep_spin(cb, &cb->lock, "krping", hz);
 		if (SIGPENDING(curthread)) {
+			cb->state = ERROR;
 			DEBUG_LOG(PFX "interrupt!\n");
 			break;
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801091516.m09FGnu4046911>