The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.3.14-1~deb10u1 (Linux)
File Line Function
/showthread.php 895 errorHandler->error

  • 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
eventing system on windows
Porting the new pilight version to windows seems to be a lot harder than i expected. The biggest drawback is that in linux, everything can be polled by poll (e.g. sockets, serial, files, pipes, etc) but in windows only sockets work through select (poll is not supported). So get console input, socket communication, serial io, in a non-blocking manner to work major work needs to be done.

I tried to walk that path to port the pilight eventing system to windows, but i'm currently investigating if libuv does what i need. libuv is the main eventing library used in NodeJS and does nearly everything we need. To speed up this investigation is trying to make proof of concepts or even port parts of the new pilight rewrite code to libuv.

The biggest problem at this moment is getting the pilight usb nano to work on windows. If someone can create a proof of concept for the 433nano hardware module in libuv that would greatly reduce my development time.

Creating multiplatform proof-of-concepts for the threadpool, socket communication, console input is also appreciated.

At least you guys know what i'm working on at the moment.

But first, i'm going to enjoy my holiday vacation.

Messages In This Thread
eventing system on windows - by curlymo - 07-10-2016, 01:13 PM
RE: eventing system on windows - by tobid - 07-17-2016, 11:38 AM

Forum Jump:

Browsing: 1 Guest(s)