www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/07/10/09:03:12

Date: Mon, 10 Jul 1995 08:50:07 -0400
From: dj (DJ Delorie)
To: jhunter AT kendaco DOT telebyte DOT com
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: V. 2.0 _go32_allocate_iret_wrapper stack not locked?

>   It seems to me that the stack created for you when you call
> _go32_allocate_iret_wrapper is never locked.  If this is so either
> there is something I don't know about or that is a bug.  Also,

Bug.

> shouldn't the variable that points to the malloc()'ed stack (the one
> that get's loaded into %esp) be locked as well?  And shouldn't the
> entire wrapper code be locked as well?  Just curious, because we know
> that this code and data will be accessed from within an interrupt...

Probably.  V1 never got locking right.  Feel free to fix it, but I
don't plan on any more V1 releases since V2 is so close to release.
How about getting V2 and fixing it there?  V2 might have the same type
of problem.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019