Re: Multi-threaded or async Mozilla (NSPR, really)

2003-01-09 Thread Andriy Gapon
On Mon, 30 Dec 2002, D J Hawkey Jr wrote: Without checking, I'll take your word for it. But if so, what are they doing in libc_r? I thought that was for re-entrant/thread-safe functions? Is there an appreciable difference between re-entrant and thread-safe? My understanding is that libc_r is

Re: Multi-threaded or async Mozilla (NSPR, really)

2003-01-03 Thread David Schultz
Thus spake D J Hawkey Jr [EMAIL PROTECTED]: Is there an appreciable difference between re-entrant and thread-safe? ``Thread-safe'' just means that multiple threads can call the routine without something blowing up due to a race. ``Reentrant'' means that the routine is thread-safe, AND that

Re: Multi-threaded or async Mozilla (NSPR, really)

2002-12-31 Thread Hajimu UMEMOTO
Hi, On Mon, 30 Dec 2002 19:56:46 -0600 (CST) D J Hawkey Jr [EMAIL PROTECTED] said: hawkeyd In article [EMAIL PROTECTED], hawkeyd[EMAIL PROTECTED] writes: On Sun, Dec 22, 2002 at 07:18:54AM -0600, D J Hawkey Jr wrote: I can't imagine what Moz is doing within it's DNS code, even

Re: Multi-threaded or async Mozilla (NSPR, really)

2002-12-31 Thread Matthew Seaman
On Mon, Dec 30, 2002 at 07:56:46PM -0600, D J Hawkey Jr wrote: In article [EMAIL PROTECTED], [EMAIL PROTECTED] writes: On Sun, Dec 22, 2002 at 07:18:54AM -0600, D J Hawkey Jr wrote: I can't imagine what Moz is doing within it's DNS code, even with the serialized DNS lookups. If

Re: Multi-threaded or async Mozilla (NSPR, really)

2002-12-30 Thread D J Hawkey Jr
In article [EMAIL PROTECTED], [EMAIL PROTECTED] writes: On Sun, Dec 22, 2002 at 07:18:54AM -0600, D J Hawkey Jr wrote: I can't imagine what Moz is doing within it's DNS code, even with the serialized DNS lookups. If nslookup replies within fractions of a second, why doesn't Moz??

Re: Multi-threaded or async Mozilla (NSPR, really)

2002-12-30 Thread D J Hawkey Jr
In article [EMAIL PROTECTED], [EMAIL PROTECTED] writes: as a matter of fact gethost*() family of calls is not thread-safe in FreeBSD. You can search FreeBSD PRs and mozilla's bugzilla for mozilla DNS to see previous discussions and efforts. Without checking, I'll take your word for

Multi-threaded or async Mozilla (NSPR, really)

2002-12-22 Thread D J Hawkey Jr
Hi all. If this isn't the right forum, please excuse me, and direct me to the correct group. Has anyone managed to hack a recent Mozilla release (say, 1.0 or later) to do async/threaded DNS lookups? Since gethostbyname() and related functions are in libc_r, I'm assuming it's doable. I've

Re: Multi-threaded or async Mozilla (NSPR, really)

2002-12-22 Thread Matthew Seaman
On Sun, Dec 22, 2002 at 07:18:54AM -0600, D J Hawkey Jr wrote: I can't imagine what Moz is doing within it's DNS code, even with the serialized DNS lookups. If nslookup replies within fractions of a second, why doesn't Moz?? Take a look at look at the getaddrinfo(3) man page and then try

Re: Multi-threaded or async Mozilla (NSPR, really)

2002-12-22 Thread Andriy Gapon
as a matter of fact gethost*() family of calls is not thread-safe in FreeBSD. You can search FreeBSD PRs and mozilla's bugzilla for mozilla DNS to see previous discussions and efforts. -- Andriy Gapon * The worst part of communication is the illusion that it has actually occurred. M. Jenkins.