Feature #88

Windows OS support

Added by Madars over 7 years ago. Updated over 1 year ago.

Status:RejectedStart 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.

#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.

#9 Updated by Madars almost 6 years ago

Scheduled for Block 2 project.

#13 Updated by Madars over 1 year ago

  • Status changed from New to Rejected

not a business case here.

Also available in: Atom PDF