Bart Locanthi <[EMAIL PROTECTED]> writes:
> i've been periodically trying out native threads, hoping to get full
> usage from an SMP sytem. so far, no luck. finally abstracted the problem
> into a simple, repeatable form.
> 
> the following program creates M threads that each make and quit from N
> Sockets to an SMTP_HOST.
> 
>       java NT SMTP_HOST M N
> 
> it always works, for any M, on a uniprocessor, always fails for M>1 on
> SMP, sometimes with a shared library load error (!).

This program seems to be demonstrating the same problems we have seen with
native threads on JDK 1.2 (which is *different* from the problems we saw
with 1.1.7_v3!) Our program, which uses multiple threads and sockets, would
often mysteriously lock up, and other times would fail to run at all --
the shared library load error was seen as well. 

Juergen did tell me that he has made some fixes to socket support in 
the JDK1.2 native VM which may fix these problems; this has not yet been
released, though, so I anxiously await the patch!

Cheers,
Matt Welsh


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to