From 88305c306530bb17cd850f9a2582f83ba8ff7fb3 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Tue, 23 Mar 2010 18:57:19 -0400 Subject: [PATCH] Windows LWP and UNIX LWP do not have the same lwp_cpptr structure Windows LWP uses Windows Fibers. There is no 'stack' field. Change-Id: I8ebc7b355642f9e3ad6f2953345b9858ab9c151a Reviewed-on: http://gerrit.openafs.org/1638 Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman --- src/volser/vsprocs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/volser/vsprocs.c b/src/volser/vsprocs.c index 11af64894..6487966c7 100644 --- a/src/volser/vsprocs.c +++ b/src/volser/vsprocs.c @@ -1147,8 +1147,8 @@ static void * do_interrupt(void * unused) { if (interrupt) { -#ifndef AFS_PTHREAD_ENV - /* Avoid LWP from getting confused that our stack has suddenly +#if !defined(AFS_PTHREAD_ENV) && !defined(AFS_NT40_ENV) + /* Avoid UNIX LWP from getting confused that our stack has suddenly * changed. This will avoid some sanity checks, but until a better way * is found, the only alternative is always crashing and burning on at * least the stack-overflow check. */ -- 2.39.5