From: Gordon M. <yi...@eb...> - 2002-02-27 00:31:26
|
I don't know. The URL offered hands back a 404. errno.c exists in that dir, but no errno.h that I can find. Since my TiBook is no more, I can't check much :( I can speculate, however, that you need to compile your Numeric libraries (they're C, right?) with -D_REENTRANT or something in order to actually get the per-thread errno. I expect that Python was built with that flag, but you might want to check that as well. On Mon, 2002-02-25 at 16:43, Steve Spicklemire wrote: > Well.. that's good news! (I think!) So.. any idea how to find out what=20 > "resource" is temporarily unavailable? >=20 > thanks, > -steve >=20 > On Monday, February 25, 2002, at 07:14 PM, Jorge Acereda Maci=E1 wrote: >=20 > > Gordon Messmer <yi...@eb...> writes: > >> Well, if the errno is coming from a different thread, then OS X, unlik= e > >> most POSIX OS's, probably doesn't have a separate errno for each threa= d > >> (which sorta sucks. a lot). Under Linux, for instance, "errno" is a > >> macro which locates the current thread's errno, and returns its value. > > > > > > On Darwin, there's a separate instance of errno for each thread and a > > global errno. > > > > look at http://web.mit.edu/darwin/src/modules/Libc/sys/errno.h > > >=20 |