Install gem system_timer on Windows

Has anyone here successfully installed stone system_timerin Windows? I have devkiton my car and I can install other native stones. I get the following error when installing a gem.

In file included from system_timer_native.c:2:
c:/Ruby19/include/ruby-1.9.1/ruby/backward/rubysig.h:14:2: warning: 
    #warning rubysig.h is obsolete
system_timer_native.c: In function `install_timer':
system_timer_native.c:28: error: storage size of 'timer_interval' isn't known
system_timer_native.c:33: warning: implicit declaration of function `sigprocmask'

Home page reports that it does not work on Windows

SystemTimer  only works on UNIX platforms (Mac OS X, Linux, Solaris, BSD, …). 
You can install the gem on Microsoft Windows, but you will only get a 
convenience shell wrapping a simple call to timeout.rb under the cover.

I'm on Ruby 1.9, since the thread model is different in 1.9, I wonder if gem will work in version 1.9.

+3
source share
1 answer

The problem is not with the Ruby threading system, I suppose, with the Windows kernel system.

, , SIGALRM, , . timeout.rb, .

, Windows + 1.9 ( ).

+1

Source: https://habr.com/ru/post/1735511/


All Articles