Feature #88
Windows OS support
Status: | Rejected | Start date: | 01/20/2017 | |
---|---|---|---|---|
Priority: | Low (Code 5) | Due date: | ||
Assignee: | Madars | % Done: | 0% | |
Category: | - | |||
Target version: | - |
History
#1 Updated by Madars over 6 years ago
- Status changed from New to Rejected
#2 Updated by Madars about 6 years ago
- Status changed from Rejected to New
Windows support might be reached by using:
- https://github.com/robinrowe/libunistd
- by using msmsq as queue transport
- Also it looks like there is no polling for those queues, thus we could run in System V IPC queue mode.
#4 Updated by Madars about 6 years ago
#5 Updated by Madars about 6 years ago
#6 Updated by Madars almost 6 years ago
#7 Updated by Madars almost 6 years ago
The server poller could do following:
https://msdn.microsoft.com/en-us/library/ms699825(v=vs.85).aspx
MQReceiveMessage() + Peek -> add to overlapped waitformultiple objects With small buffer size. This is needed so that we do not grab two messages at the same time if doing async MQReceiveMessage to all service queues. We use peek on small buffer just to trigger wakeup.
If for some result we get OK or buffer overflow, then there is something in queue. The try to read message from Q in non blocked mode (i.e. set dwTimeout to 0). If got message all ok, if not return back to poller.
#8 Updated by Madars almost 6 years ago
#9 Updated by Madars almost 6 years ago
Scheduled for Block 2 project.
#10 Updated by Madars over 5 years ago
Build system: http://ingar.intranifty.net/devenv/mingw32/base.html
#11 Updated by Madars over 5 years ago
Build ENV setup: https://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html