Skip to content

Reason of Infinite loop #20

Open
Open
@zheng-yongping

Description

@zheng-yongping
require 'gnuplotrb'
puts GnuplotRB::Plot.new('XXX').to_svg()

It may work like this:

create error handler thread (but not running)
check_errors => ok
check_errors => ok
.
.
.
check_errors => ok
handler thread start...
sleep 0.01 until File.size?(inner_opts[:output]) => loop forever

The error handler thread may start after all check ran, and the exception can not be raise.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions