Re: Trying to join an already exited pthread

2007-02-08 Thread Daniel Eischen
On Thu, 8 Feb 2007, Garrett Cooper wrote: Actually, now that I think about it the calls I made with ps in the program are valid for Linux but not for FreeBSD (they're for getting thread listings). Hence error code 2. From intro(2): 2 ENOENT No such file or directory. A component of a s

Re: Trying to join an already exited pthread

2007-02-08 Thread Garrett Cooper
Garrett Cooper wrote: Garrett Cooper wrote: Garrett Cooper wrote: Garrett Cooper wrote: On Feb 7, 2007, at 1:51 PM, Steve Watt wrote: In <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote: Just wondering: If I was to try and join a pthread that already exited, would there be an error message

Re: Trying to join an already exited pthread

2007-02-08 Thread Garrett Cooper
Garrett Cooper wrote: Garrett Cooper wrote: Garrett Cooper wrote: On Feb 7, 2007, at 1:51 PM, Steve Watt wrote: In <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote: Just wondering: If I was to try and join a pthread that already exited, would there be an error message output and/or errno se

Re: pkg_upgrade (was Re: pkg_add does not backtrack, does it?)

2007-02-08 Thread Joan Picanyol i Puig
[moved to ports@ with notice in [EMAIL PROTECTED] * Mike Meyer <[EMAIL PROTECTED]> [20070207 07:17]: > In <[EMAIL PROTECTED]>, Joan Picanyol i Puig <[EMAIL PROTECTED]> typed: > > I know what I'd like: a utility in the base system for binary upgrading > > of packages. More flexible logic in how the

Re: pkg_upgrade (was Re: pkg_add does not backtrack, does it?)

2007-02-08 Thread Joan Picanyol i Puig
[moved to ports@ with notice on [EMAIL PROTECTED] * Ulrich Spoerlein <[EMAIL PROTECTED]> [20070208 22:37]: > Kip Macy wrote: > > On Wed, 7 Feb 2007, Joan Picanyol i Puig wrote: > > > > >I know what I'd like: a utility in the base system for binary upgrading &g

Re: pkg_add does not backtrack, does it?

2007-02-08 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Henry Lenzi <[EMAIL PROTECTED]> typed: > On 2/6/07, Mike Meyer <[EMAIL PROTECTED]> wrote: > > In <[EMAIL PROTECTED]>, Henry Lenzi <[EMAIL PROTECTED]> typed: > > > I haven't found the pkg_add code (it's in Ruby, is it?). > > > > It's in /usr/src/usr.sbin/pkg_install/add. And

Re: kernel headers dependency graph ? (systm.h tangle)

2007-02-08 Thread youshi10
On Thu, 8 Feb 2007, Luigi Rizzo wrote: Hi, Is there a tool to produce a dependency graph for C headers ? If that matters (i.e. someone has already studied it), i am interested in the header situation in the FreeBSD kernel. It may be a well known thing, but i just realized that is entagled wit

Re: pkg_add does not backtrack, does it?

2007-02-08 Thread Henry Lenzi
On 2/6/07, Mike Meyer <[EMAIL PROTECTED]> wrote: In <[EMAIL PROTECTED]>, Henry Lenzi <[EMAIL PROTECTED]> typed: > I haven't found the pkg_add code (it's in Ruby, is it?). It's in /usr/src/usr.sbin/pkg_install/add. And no, it's not in ruby. > But from the behaviour of pkg_add -r, it's safe to s

Re: pkg_upgrade (was Re: pkg_add does not backtrack, does it?)

2007-02-08 Thread Antony Mawer
On 8/02/2007 9:02 AM, Ulrich Spoerlein wrote: Kip Macy wrote: On Wed, 7 Feb 2007, Joan Picanyol i Puig wrote: I know what I'd like: a utility in the base system for binary upgrading of packages. More flexible logic in how the '-r' option is handled would be nice (being able to fetch all packag

Re: pkg_upgrade (was Re: pkg_add does not backtrack, does it?)

2007-02-08 Thread Ulrich Spoerlein
Kip Macy wrote: > On Wed, 7 Feb 2007, Joan Picanyol i Puig wrote: > > >I know what I'd like: a utility in the base system for binary upgrading > >of packages. More flexible logic in how the '-r' option is handled would > >be nice (being able to fetch all packages from All/ even if you are > >on RE

kernel headers dependency graph ? (systm.h tangle)

2007-02-08 Thread Luigi Rizzo
Hi, Is there a tool to produce a dependency graph for C headers ? If that matters (i.e. someone has already studied it), i am interested in the header situation in the FreeBSD kernel. It may be a well known thing, but i just realized that is entagled with and both bring in a lot of other header

Re: Trying to join an already exited pthread

2007-02-08 Thread Garrett Cooper
Garrett Cooper wrote: On Feb 7, 2007, at 1:51 PM, Steve Watt wrote: In <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote: Just wondering: If I was to try and join a pthread that already exited, would there be an error message output and/or errno set to an error value, or would a system hang?

Re: Trying to join an already exited pthread

2007-02-08 Thread Garrett Cooper
On Feb 7, 2007, at 1:51 PM, Steve Watt wrote: In <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote: Just wondering: If I was to try and join a pthread that already exited, would there be an error message output and/or errno set to an error value, or would a system hang? Was the thread crea