Jeff Squyres, le Wed 07 Oct 2009 12:28:00 -0400, a écrit :
> On Oct 7, 2009, at 12:20 PM, Brice Goglin wrote:
> >> One comment, I see that you have a
> >> hwloc_cpuset_copy (which I would have called duplicate)
> >> but copy in the sense of assignment is not really possible (i.e.
> >> reusing an existing allocated cpuset, and initialize it with the
> >> content of another.
> >I need to think about this.
> Can we cite any common cases where "copy" is used instead of
> "duplicate"? "copy" is certainly shorter. :-)
> MPI has MPI_COMM_DUP, MPI_TYPE_DUP ("dup", not "duplicate").
dup seems fine to me, like strdup & such.