diff options
author | benoit-germain <bnt.germain@gmail.com> | 2012-04-26 12:57:19 +0300 |
---|---|---|
committer | benoit-germain <bnt.germain@gmail.com> | 2012-04-26 12:57:19 +0300 |
commit | 101a12ea68d57e1988d9cf232b8cd8634b2cd36e (patch) | |
tree | 22649e02cedfd5932b4f6aa16bc35b7ba39d5ec3 | |
parent | c8cf765c782fd12344911af24ff23624cac02d0c (diff) | |
download | lanes-101a12ea68d57e1988d9cf232b8cd8634b2cd36e.tar.gz lanes-101a12ea68d57e1988d9cf232b8cd8634b2cd36e.tar.bz2 lanes-101a12ea68d57e1988d9cf232b8cd8634b2cd36e.zip |
Improve LuaJIT compatibility, part #2: timer lane generator uses "*" library list
-rw-r--r-- | src/lanes.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lanes.lua b/src/lanes.lua index ec5a4e4..5b0b7a7 100644 --- a/src/lanes.lua +++ b/src/lanes.lua | |||
@@ -429,7 +429,7 @@ if first_time then | |||
429 | -- We let the timer lane be a "free running" thread; no handle to it | 429 | -- We let the timer lane be a "free running" thread; no handle to it |
430 | -- remains. | 430 | -- remains. |
431 | -- | 431 | -- |
432 | gen( "io,package", { priority=max_prio}, function() | 432 | gen( "*", { priority=max_prio}, function() -- "*" instead of "io,package" for LuaJIT compatibility... |
433 | set_debug_threadname( "LanesTimer") | 433 | set_debug_threadname( "LanesTimer") |
434 | while true do | 434 | while true do |
435 | local next_wakeup= check_timers() | 435 | local next_wakeup= check_timers() |