Ticket #1997 defect closed fixed
perhaps wakeUp could be slightly simpler
| Reported by: | wingo | Owned by: | exarkun |
|---|---|---|---|
| Priority: | lowest | Milestone: | |
| Component: | core | Keywords: | |
| Cc: | spiv, jknight, exarkun, glyph | Branch: | branches/fix-wakeup-1997 |
| Author: | exarkun | Launchpad Bug: |
Description (last modified by glyph) (diff)
The test for what thread we're in is unnecessary, and slightly worsens a race with select() because the handler could be called after processing events in the queue but before entering select().
We're leaving it this way for now, because the race is easier to trigger in its current configuration (and still exists in other configurations), but will be removing this redundant and unnecessary code either after or during the fix for the real underlying issue.
See #791.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

