This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Re: [scala-bts] #3881: XMLEventReader.stop does not stop parser thread

1 reply
Scala 2
Joined: 2009-03-05,
User offline. Last seen 42 years 45 weeks ago.

---------------------------+------------------------------------------------
Reporter: huynhjl | Owner: scala-xml_team
Type: defect | Status: new
Priority: normal | Component: Standard Library
Version: | Resolution:
Keywords: XMLEventReader |
---------------------------+------------------------------------------------
Changes (by extempore):

* owner: scala_meeting => scala-xml_team
* status: reopened => new

Scala 2
Joined: 2009-03-05,
User offline. Last seen 42 years 45 weeks ago.
Re: [scala-bts] #3881: XMLEventReader.stop does not stop parser

---------------------------+------------------------------------------------
Reporter: huynhjl | Owner: scala-xml_team
Type: defect | Status: new
Priority: normal | Component: Standard Library
Version: | Resolution:
Keywords: XMLEventReader |
---------------------------+------------------------------------------------

Comment(by huynhjl):

I found out why it can sometimes hang. `produce(POISON)` blocks if the
queue is full. I guess there may have been two separate reasons why
`XMLEventReader.stop()` did not stop...

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland