[Pythonmac-SIG] CXX/Numeric problem on MacOSX (was building vpython on MacOSX)
Steve Spicklemire
steve@spvi.com
Sun, 24 Feb 2002 15:15:34 -0500
Hi Folks,
OK.. I think I'm narrowing this down... is it possible for one thread to
have a problem.. thereby setting errno.. then another thread *checks*
errno and assumes it's a problem with something it's done, where it was
really another thread entirely?
thanks,
-steve
On Sunday, February 24, 2002, at 12:41 PM, Steve Spicklemire wrote:
> Hi (again),
>
> OK.. I found out that the error I'm getting is (reproducibly) actually
> "error 35" described in /usr/include/sys/errno.h as:
>
> #define EAGAIN 35 /* Resource temporarily
> unavailable */
> #ifndef _POSIX_SOURCE
> #define EWOULDBLOCK EAGAIN /* Operation would block */
>
> so.. it's saying that this operation would block or is temporarily
> unavailable. Why? Any idea?
>
> thanks,
> -steve
>
> On Sunday, February 24, 2002, at 09:35 AM, Steve Spicklemire wrote:
>
>> Diggin around I find that this error is generated in the "ufuncmodule"
>> of Numeric. If I try to debug this I get to.
>>
>> The message comes from the math_error() function if ufuncobject, where
>> I set a breakpoint.
>>
>> Breakpoint 2, math_error () at Src/ufuncobject.c:407
>> (gdb) print errno
>> $1 = <unknown type>
>>
>> most unhelpful!
>>
>
>
> _______________________________________________
> Pythonmac-SIG maillist - Pythonmac-SIG@python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig