Jérôme Duval <korli@xxxxxxxx> wrote: > Selon Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>: > > The "flags" argument is completely unused? > It seems. But i think it could be used to make the > launch_media_server > call wait or not for the launch completion. > My current problem is waiting for the media_server launch completion, > i tried to send it a message with some timeout (2 seconds for > deliver, 2 > seconds for reply), but it answers very quickly. What should i do ? I > think > media_server should postpone its reply until launch completion. Is it > a > good practice ? What does the R5 server do? > Yes, it seems a good pseudo code. It's just the notifications in > media > server seem not implemented. So feeding the port should be tricky. > We could start with a thread with several snooze calls though :) Sure - just set the timeout low enough :) Anyway, I think the server side of things is very easy to do; it just have to store the reply port, and send messages to it while it is shutting down its different components. Bye, Axel.