Samuel Thibault, le mar. 02 mars 2021 22:13:17 +0100, a ecrit:
> Applied, thanks!
> > @@ -500,9 +517,9 @@ machdev_trivfs_server(mach_port_t bootstrap)
> > fsys = control;
> > }
> >
> > - /* Launch. */
> > - do
> > - {
> > - ports_manage_port_operations_one_thread (port_bucket, demuxer, 0);
> > - } while (trivfs_goaway (fsys, 0));
> > + err = pthread_create (&t, NULL, machdev_trivfs_loop, (void *)fsys);
> > + if (err)
> > + error (1, err, "Creating machdev server thread");
> > + pthread_detach (t);
Mmm, that said, doesn't rumpdisk's and netdde's main() call
pthread_exit(NULL) after calling machdev_trivfs_server, just like you
did in pci-arbiter?
Samuel