home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!rpi!psinntp!psinntp!colorne!dfilip
- From: dfilip@colorne.UUCP
- Newsgroups: comp.os.vms
- Subject: Re: known VAXCRTL bugs
- Message-ID: <38@colorne.UUCP>
- Date: 7 Nov 92 14:23:52 GMT
- References: <1d1p5pINNkd@gap.caltech.edu>
- Distribution: world
- Organization: ColorNet Information Systems
- Lines: 36
-
- Carl J Lydick writes :
- >In article <31@colorne.colornet.com>, dfilip@colorne.colornet.com writes:
- >=Also, the last time I checked, the malloc() function was not re-enterant;
- >=I had some code which worked fine in-line, but would get strange results
- >=when moved into an AST routine. I landed up replacing the
- >=malloc()'s with LIB$GET_VM() (this was about a year ago; DEC admitted to
- >=it at the time, but does anyone know if they every really fixed it ?;
- >=I seem to remember that at one point there was some #define's that you could
- >=do to alias malloc() and free() to other entry points ...)
- >
- >I don't see how you consider that to be a bug. Unless a RTL routine is
- >specifically documented to be AST reentrant, you're supposed to assume that
- >it's not.
-
- I was not aware that this is true. Is this specifically stated in TFM ?
-
- Although I would not, for example, try to use buffered I/O in an AST
- routine (it just dosn't seem like the right thing to do) allocating a
- chunk of memory seems like something that should be able to be handled
- in an asynchronous fashion.
-
- Although I guess I do agree in principal that one should not assume an RTL
- routine can be used asynchronously, it seems to me that something like
- allocating memory should be one of those things that can.
-
- Regards,
-
- Dave.
-
- --
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- = David E. Filip UUCP : dfilip@colornet.com =
- = ColorNet Information Systems CIS : 76430,3111 =
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- = Standards are wonderful 'cause there are so many to choose from ! =
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-