Bugs: Browse | Submit New | Admin

[#17724] Reading a packet with timeout >=0 blocks threads

Date:
2008-02-02 14:03
Priority:
3
Submitted By:
Nobody
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Reading a packet with timeout >=0 blocks threads

Detailed description
ipq_read with timeout >= 0 uses select internally, which unfortunately blocks Ruby's green threads. A solution would
be to use Ruby's select on ipq_handle.fd before calling ipq_read.

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item