Re: awt calls malloc

Date view Thread view Subject view Author view

From: Archie Cobbs (archie@whistle.com)
Date: Fri Feb 12 1999 - 20:41:18 EST


Godmar Back writes:
> About the functions Archie proposes to export:
> I actually think we should export two pairs of functions:
> one that calls block/unblockAsyncSignals and is used for really sensitive
> code like the code used in libltdl/dl*, and the other would simply call
> jthread_spinon(0)/jthread_spinoff(0). They could go in support.c and
> we could define them in native.h in order to avoid having to include
> jsignal.h or jthread.h

Sounds like a good plan to me...

I'd rather you add the functions and definitions.. once this is done
me and anyone else can start wrapping functions we find in native code.

> Btw, I still don't think things work reliably. I've had a test fail
> under Linux once with something like
> "/lib/libnsl.. : dlsym: res_query not found"
> It's not reproducible, though.

Hunting down all the unprotected subroutine calls (like the libtool
stuff) and wrapping them with our new native callouts should help
narrow this down, if not fix it.

-Archie

___________________________________________________________________________
Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:58:07 EDT