From: Jeffrey Altman Date: Tue, 23 Mar 2010 22:57:19 +0000 (-0400) Subject: Windows LWP and UNIX LWP do not have the same lwp_cpptr structure X-Git-Tag: openafs-devel-1_5_73~8 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=88305c306530bb17cd850f9a2582f83ba8ff7fb3;p=packages%2Fo%2Fopenafs.git 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 --- 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. */