Issue 85084 - thread coordination at shutdown
Summary: thread coordination at shutdown
Status: ACCEPTED
Alias: None
Product: udk
Classification: Code
Component: code (show other issues)
Version: current
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-08 14:07 UTC by Stephan Bergmann
Modified: 2013-01-29 21:49 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 2008-01-08 14:07:22 UTC
Various issues show that there are problems not coordinating threads at process
shutdown, esp. when threads use static data that has already been destroyed
during an exit() call in another thread.  One such issue is issue 80300, another
is Sun-internal 6644672 where a bridges_urp::OReaderThread::run thread calls
sunpro5::RTTIHolder::generateRTTI after the static RTTIHolder instance has
apparently already been destroyed from the main thread (OOG680m9 unxsoli4.pro).

Some framework needs to be designed to allow such coordination, and then
threaded code needs to be adapted to that framework.
Comment 1 kay.ramme 2008-01-11 09:02:07 UTC
This is already work in progress, please see:

http://wiki.services.openoffice.org/wiki/User:Kr/A_Thread%27s_Life