Issue 75356 - Fix null-check fix in sal/inc/thread.hxx:1.9
Summary: Fix null-check fix in sal/inc/thread.hxx:1.9
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: current
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 2.3
Assignee: kay.ramme
QA Contact: issues@porting
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-13 13:53 UTC by Stephan Bergmann
Modified: 2007-07-13 08:35 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Stephan Bergmann 2007-03-13 13:53:25 UTC
sal/inc/thread.hxx:1.9 introduces lots of null checks on m_hThread, of which
some are not necessary (as sal/inc/thread.h:1.10 guarantees "correct" behavior
of osl_destroyThread, osl_isThreadRunning, osl_joinThread when called with a
null thread argument).  See
<http://www.openoffice.org/servlets/ReadMsg?list=interface-discuss&msgNo=780>.
Comment 1 Stephan Bergmann 2007-03-13 13:54:00 UTC
.
Comment 2 Stephan Bergmann 2007-03-21 15:18:20 UTC
.
Comment 3 Stephan Bergmann 2007-06-11 13:15:51 UTC
@kr: please verify sal/inc/osl/thread.hxx:1.9.2.1, sal/osl/unx/thread.c:1.28.120.1
Comment 4 kay.ramme 2007-06-19 09:23:35 UTC
Verified in SB70 .
Comment 5 kay.ramme 2007-07-13 08:35:54 UTC
.