From: joshua <jos...@gm...> - 2014-04-09 18:27:35
|
Hi, My application uses libupnp-1.6.19. I notice that UpnpSendActionAsync() doesn’t guarantee the receiving/executing order. For example, if action A then B are sent, B may be received and executed first on the other end. I read the code a bit, it seems to me that UpnpSendActionAsync() just hands off the request to thread pool, and from there on any order is possible. Assume I call UpnpSendActionAsync() or UpnpSendAction() in one thread context (same thread). my questions are: 1) is that a feature? 2) is there any async api that guarantees A first, then B? 3) does UpnpSendAction() guarantees A first, then B? Thanks, —joshua |