https://bugs.winehq.org/show_bug.cgi?id=17195
--- Comment #164 from Luke Kenneth Casson Leighton lkcl@lkcl.net --- (In reply to Adam Martinson from comment #163)
(In reply to Sebastian Lackner from comment #162)
The reason I implemented message mode through the server is because that's what AJ suggested. I think that's probably the easiest & most straightforward way to do it.
If you're really set on using native pipes/sockets, I would take a look at encoding the data in a normal stream socket.
unfortunately, that is the implementation that cannot work, because you can have multiple readers of the socket, none of which may coordinate properly about which may read data and which may read OOB data, which is the whole reason why i created the "one socket pair per message" prototype in the first place.
if you think "ok then, if that's not possible let's do it in the server" then that *also* is not possible because the server must never block and unfortunately you need blocking in order to create the blocking semantics needed by the clients... and you may *not* block in the server.
this is why i said - right back after i stopped working on this - that it is necessary to make wineserver a multi-threaded server because you can allocate one thread per blocking-read.
and the reason why i stopped is because AJ was such a complete dick, giving blanket "fuck off" answers instead of listening to sound logical reasoning.
which is why he should be fired from the project, if he cannot listen to simple logical reasoning, no matter how much redesign work is needed.
AJ if you cannot listen to simple logical reasoning, even if it means that a lot of work may be needed, then perhaps it is time for you to quit the wine project.
sorry, all - been round this loop a number of times.
and, to answer your earlier comments, adam: if the project leaders are completely discouraging and disparaging, why should i spend *my* time interacting with them *at all*?
and before you answer that, adam: consider that i am one of the very rare people who tells things as they are. no sugar-coating. sometimes even though people don't like to hear what needs to be done, someone still has to say it.