export and document sb-thread:join-thread-problem

Bug #2063385 reported by Benjamin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
Undecided
Unassigned

Bug Description

The manual mentions that this function can be used to distinguish between different errors signaled by sb-thread:join-thread, but it isn't currently exported.

I discussed this a bit with stassats on IRC, and they pointed out that it is possible to distinguish between abort and timeout by setting the ':default' argument on 'join-thread' and then checking the second return value. I think it's still worth exporting 'join-thread-problem', because it was already referenced in the public docs, and the ':default' mechanism does not allow user code to distinguish the ':self-join' and ':foreign' cases.

Revision history for this message
Benjamin (benjaminfl) wrote :
Stas Boukarev (stassats)
Changed in sbcl:
status: New → Fix Committed
Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.