Quoting Justus Winter (2015-04-03 11:55:07)
> Quoting Samuel Thibault (2014-12-09 02:21:20)
> > Justus Winter, le Thu 04 Dec 2014 15:39:04 +0100, a écrit :
> > > If we now `ports_destroy_right' X, and at the same time the last send
> > > right to X is destroyed, there's a chance that said notificat
Quoting Samuel Thibault (2014-12-09 02:21:20)
> Justus Winter, le Thu 04 Dec 2014 15:39:04 +0100, a écrit :
> > If we now `ports_destroy_right' X, and at the same time the last send
> > right to X is destroyed, there's a chance that said notification is
> > already delivered to X.
>
> Mmm, isn't t
Justus Winter, le Thu 04 Dec 2014 15:39:04 +0100, a écrit :
> If we now `ports_destroy_right' X, and at the same time the last send
> right to X is destroyed, there's a chance that said notification is
> already delivered to X.
Mmm, isn't that also true for any kind of message?
Samuel
Hello,
Hm, this was always the weakest part of the patch series. And I'm
still not satisfied with it.
Quoting Samuel Thibault (2014-12-02 01:51:36)
> Justus Winter, le Thu 27 Nov 2014 14:19:08 +0100, a écrit :
> > + /* We are the only one updating generation, so this is safe. */
> > +
Justus Winter, le Thu 27 Nov 2014 14:19:08 +0100, a écrit :
> + /* We are the only one updating generation, so this is safe. */
> + old = generation;
> +
> + /* Update generation. */
> + __atomic_store_n (&generation, (old + 1) % 3, __ATOMIC_RELAXED);
> +
> + /* This is t
* libports/create-internal.c (_ports_create_port_internal): Set the
protected payload to the objects address.
* libports/import-port.c (ports_import_port): Likewise.
* libports/reallocate-from-external.c (ports_reallocate_from_external):
Likewise.
* libports/reallocate-port.c (ports_reallocate_port