In muc.lists.freebsd.hackers, you wrote:
>
> Is there a MT-safe implementation of gethostbyname() in FreeBSD (3.4/4.0)?
>
> On Solaris there is gethostbyname_r(). Calling gethostbyname() with in
> two threads cause both threads to block.
You seem to be talking about two different things:
1. A
On Wed, Apr 12, 2000 at 12:07:40AM -0700, Ming Zhang wrote:
> > In your case, both the threads are waiting for a DNS server response,
> > so the thread scheduler doesn't have a thread to schedule.
>
> If I only create one thread, then the gethostbyname() returns immediately.
> By using truss -p,
Comments ?
-Arun
From: [EMAIL PROTECTED] (Arun Sharma)
Newsgroups: muc.lists.freebsd.questions,mpc.lists.freebsd.questions
Subject: socket.h and _POSIX_SOURCE
Date: 18 Apr 2000 08:45:31 +0200
What's wrong with this ?
-Arun
$ cat test.c
#include
#include
$ cc -D_POSIX_S
On Mon, Apr 24, 2000 at 04:39:43PM +0200, Jeroen Ruigrok/Asmodai wrote:
> -On [2420 20:02], Arun Sharma ([EMAIL PROTECTED]) wrote:
> >Comments ?
> >
> >$ cat test.c
> >#include
> >#include
> >$ cc -D_POSIX_SOURCE -c test.c
> >In file included f
On Sat, Apr 29, 2000 at 12:52:57PM +0200, Jeroen Ruigrok/Asmodai wrote:
> -On [2425 20:08], Arun Sharma ([EMAIL PROTECTED]) wrote:
> >Would it be fair to say this is a (POSIX non-compliance) bug in the
> >header files ?
>
> As Bruce Evans was kind enough to reassure me:
In muc.lists.freebsd.hackers, you wrote:
>
> As it stands, however, 1.2.2 will not have a JIT either, unless someone
> finds a way to persuade Sun to help us out on this one.
>
> There are a number of JIT's available in the ports collection. Install and
> use those. I have a description that Fuy
Numbers for JDK-1.1.8 (ignore the version below - it's the client version)
java.vendor= Sun Microsystems Inc.
java.vendor.url= http://java.sun.com/
java.version = 1.2.2
java.class.version = 46.0
java.compiler = OpenJIT
os.name= FreeBSD
os.version = 4.0-S
Is there a strong reason why FreeBSD rtld uses lazy binding by default ?
In a multithreaded environment, this could make things pretty complex.
What if a thread holds locks and fails at runtime due to a missing
symbol ?
Also, is there a significant performance benefit to doing lazy binding ?
In muc.lists.freebsd.ports, you wrote:
>
> Do you happen to know if Xosview can be made to show both CPU's in SMP
> FreeBsd. I've just swapped from Linux to FreeBsd .
See the patches I mailed to freebsd-hackers late last year. You need to
patch both the kernel and the userland. I'm a litt
http://bugzilla.mozilla.org/show_bug.cgi?id=33739
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
Is there any reason why FreeBSD doesn't store file creation times on
the disk (apart from historical reasons) ?
-Arun
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
On Thu, May 18, 2000 at 09:04:52PM +0400, Aleksandr A.Babaylov wrote:
> Arun Sharma writes:
> > Is there any reason why FreeBSD doesn't store file creation times on
> > the disk (apart from historical reasons) ?
> in adddition to atime, ctime and mtime?
struct timespec st
On Sat, May 13, 2000 at 12:08:35PM -0700, Matthew Dillon wrote:
> The linux mremap() is an idiotic system call. Just unmap the file and
> re-mmap it.
If you are just appending to the file, you can skip the munmap. mmap deletes
the old mappings.
-Arun
To Unsubscribe: send mail
In muc.lists.freebsd.hackers, you wrote:
> I know that this was discussed in the past but I can't find out what to
> do ?
>
> In Linux if I have to resize a mmap 'ed object I can just use mremap
> but in FreeBSD if, I want to resize it what do I do ?
Have you tried mmap'ing the file again a
On Thu, May 11, 2000 at 10:52:04PM -0700, Doug Barton wrote:
> Arun Sharma wrote:
> > See the patches I mailed to freebsd-hackers late last year. You need to
> > patch both the kernel and the userland. I'm a little disappointed at
> > the lack of response. I just assumed
I just implemented the "-f" flag in truss, to trace across fork(2),
rfork(2) and vfork(2) (the last one is not tested).
The other day I observed that there were two truss processes when I
was running "truss -f" on a Solaris box. I just thought it was a much
simpler way of implementing "-f" than t
Before I go to sleep, I've shortened the diff by about 50%. The new diff
is at:
http://sharmas.dhs.org/~adsharma/projects/freebsd/truss-diff.gz
http://sharmas.dhs.org/~adsharma/projects/freebsd/truss.tar.gz
To be applied as:
cd truss
gzcat -dc truss-diff.gz | patch -p1
The real 100 lines of ch
On Thu, May 25, 2000 at 11:03:38AM +1000, Peter Jeremy wrote:
> On Thu, 18 May 2000 10:35:11 -0700, Arun Sharma <[EMAIL PROTECTED]> wrote:
>
> >On Thu, May 18, 2000 at 09:04:52PM +0400, Aleksandr A.Babaylov wrote:
> >> Arun Sharma writes:
> >> > Is there an
On Fri, May 26, 2000 at 01:51:48PM -0700, John-Mark Gurney wrote:
> well, has another committer expressed intrest in this work? I was
> looking at committing your code, but it's both for an out of date version
> of truss, and run though ident... if you could provide the changes
> to the -current
On Fri, May 26, 2000 at 01:51:48PM -0700, John-Mark Gurney wrote:
> well, has another committer expressed intrest in this work? I was
> looking at committing your code, but it's both for an out of date version
> of truss, and run though ident... if you could provide the changes
> to the -current
In muc.lists.freebsd.hackers, you wrote:
> On Sat, 3 Jun 2000, Jordan K. Hubbard wrote:
>
> > Intel has furnished us with IA-64 hardware and a porting effort is
> > already underway. Contact [EMAIL PROTECTED] if you would like to
> > help out in some way with the process.
>
> What can those of
In muc.lists.freebsd.hackers, you wrote:
> On Sun, Jun 04, 2000 at 11:12:22AM -0400, Will Andrews wrote:
> > On Sun, Jun 04, 2000 at 01:18:39AM +0800, Belldandy wrote:
> > > Is there any effort(or at least, any thought) on making an
> > > IA-64 port of FreeBSD? It seems Intel is trying to push I
On Sun, 04 Jun 2000 15:42:28 -0700, W Gerald Hicks <[EMAIL PROTECTED]> wrote:
> Arun Sharma wrote:
>
> > I don't know if the gas support is public, but you can certainly get the
> > Intel assembler for IA-64, which has been open sourced under the BSD
> > licen
http://news.excite.com/news/zd/000613/09/chip-makers-cozy
Starting Tuesday, Linux developers have been free to download from the
Intel Web site or the HP site a copy of the IA-64 SDK. The kit includes
an IA-64 simulator developed by HP labs that will allow application
developers to begin writing
Not that it adds any more weight to my patch - but the linux
folks are essentially doing the same thing:
http://reality.sgi.com/dimitris_engr/pda_patch-2.4.0-1
http://www.freebsd.org/cgi/query-pr.cgi?pr=18524
-Arun
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebs
101 - 125 of 125 matches
Mail list logo