rage-iodine 3.0.6 → 3.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 97aba2242f36a1ed75614e9722004d0ae730df41a4bd964d3cc08f3b1c9155a3
4
- data.tar.gz: f28d5c5cba986ed39cdb197054879e2d1bcbb16f074b110093f571044da843d1
3
+ metadata.gz: af7a9d60835bf9e95bf426fd9adf7fd2375af632dd39bb35d57a83f2441d8318
4
+ data.tar.gz: d13e31e81ca1a8764252d8dbf1fca4aed45bc291e661e5f5c322bdb8a0551089
5
5
  SHA512:
6
- metadata.gz: 2c55356761cf8e8467233a2c73cb866f8956655d9069c827d1c56354b45451e8447d7bdcca66ac6727d035fe4b2b70fa5bb8e76831ba28773a4952b2e58cde42
7
- data.tar.gz: d044938f40f8784c42f7b8e6d610b1b975caf41caf8e79f29c739d9d9bfe24fd0d6fda115b6cbb0c37e898f86e997deb117c03f79f89ab5a8ab939270a12de6f
6
+ metadata.gz: 65287e0a103dacf4b4b52dbb493e2cd42ffe6b23b47e5a1b022c9b1b21601128517663ed9c7de61f4350587865c27d4af7a25d27ee170164c06040d0026cd8b7
7
+ data.tar.gz: 75f0102920b0b8f090998f7bafe210ee0918b583ce35595e1a17e1b3c43577bbce9d531e0fd829dfad193c26c3a032db03c1b5d1bd298213ee6f244def4637a2
data/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ Please notice that this change log contains changes for upcoming releases as wel
6
6
 
7
7
  ## Changes:
8
8
 
9
+ #### Change log v.3.0.7 (2024-04-10)
10
+
11
+ **Fix**: Fix excessive CPU usage when using `run_every` on kqueue systems.
12
+
9
13
  #### Change log v.3.0.6 (2024-03-14)
10
14
 
11
15
  **Fix**: Fix `call_with_block` function's signature.
data/ext/iodine/fio.c CHANGED
@@ -2191,7 +2191,7 @@ static size_t fio_poll(void) {
2191
2191
 
2192
2192
  const struct timespec timeout = {
2193
2193
  .tv_sec = (timeout_millisec / 1000),
2194
- .tv_nsec = ((timeout_millisec & (~1023UL)) * 1000000)};
2194
+ .tv_nsec = ((timeout_millisec % 1000) * 1000000)};
2195
2195
  /* wait for events and handle them */
2196
2196
  int active_count =
2197
2197
  kevent(evio_fd, NULL, 0, events, FIO_POLL_MAX_EVENTS, &timeout);
@@ -1,3 +1,3 @@
1
1
  module Iodine
2
- VERSION = '3.0.6'.freeze
2
+ VERSION = '3.0.7'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rage-iodine
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.6
4
+ version: 3.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Boaz Segev
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-03-14 00:00:00.000000000 Z
11
+ date: 2024-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake