FreeBSD Bugzilla – Attachment 206346 Details for
Bug 239655
lang/crystal: something weird in libevent
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn-diff-crystal
svn-diff-crystal (text/plain), 2.66 KB, created by
Walter Schwarzenfeld
on 2019-08-07 21:45:19 UTC
(
hide
)
Description:
svn-diff-crystal
Filename:
MIME Type:
Creator:
Walter Schwarzenfeld
Created:
2019-08-07 21:45:19 UTC
Size:
2.66 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 508350) >+++ Makefile (working copy) >@@ -2,7 +2,7 @@ > > PORTNAME= crystal > DISTVERSION= 0.28.0 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= lang > MASTER_SITES= https://unrelentingtech.s3.dualstack.eu-west-1.amazonaws.com/crystal/:bootstrap > DISTFILES= ${BOOTSTRAP_PATH}:bootstrap >Index: files/patch-src_crystal_event_loop.cr >=================================================================== >--- files/patch-src_crystal_event_loop.cr (nonexistent) >+++ files/patch-src_crystal_event_loop.cr (working copy) >@@ -0,0 +1,24 @@ >+--- src/crystal/event_loop.cr.orig 2019-08-07 21:03:57 UTC >++++ src/crystal/event_loop.cr >+@@ -13,13 +13,18 @@ module Crystal::EventLoop >+ end >+ >+ private def self.loop_fiber >+- @@loop_fiber ||= Fiber.new { @@eb.run_loop } >++ @@loop_fiber ||= Fiber.new do >++ loop do >++ @@eb.run_once >++ Crystal::Scheduler.reschedule >++ end >++ end >+ end >+ >+ def self.create_resume_event(fiber) >+ @@eb.new_event(-1, LibEvent2::EventFlags::None, fiber) do |s, flags, data| >+- data.as(Fiber).resume >+- end >++ Crystal::Scheduler.enqueue data.as(Fiber) >++ end >+ end >+ >+ def self.create_fd_write_event(io : IO::Evented, edge_triggered : Bool = false) > >Property changes on: files/patch-src_crystal_event_loop.cr >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-src_io-evented.cr >=================================================================== >--- files/patch-src_io-evented.cr (nonexistent) >+++ files/patch-src_io-evented.cr (working copy) >@@ -0,0 +1,20 @@ >+--- src/io/evented.cr.orig 2019-08-07 21:04:46 UTC >++++ src/io/evented.cr >+@@ -99,7 +99,7 @@ module IO::Evented >+ @read_timed_out = timed_out >+ >+ if reader = @readers.try &.shift? >+- reader.resume >++ Crystal::Scheduler.enqueue reader >+ end >+ end >+ >+@@ -108,7 +108,7 @@ module IO::Evented >+ @write_timed_out = timed_out >+ >+ if writer = @writers.try &.shift? >+- writer.resume >++ Crystal::Scheduler.enqueue writer >+ end >+ end >+ > >Property changes on: files/patch-src_io-evented.cr >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 239655
:
206346
|
206352
|
206353
|
206355