Issue 82778 - OfficeIPCThread must not make blocking calls from acceptor thread
Summary: OfficeIPCThread must not make blocking calls from acceptor thread
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 2.3
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Blocks: 82839
  Show dependency tree
Reported: 2007-10-19 11:02 UTC by hennes.rohling
Modified: 2013-08-07 15:31 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this issue.
Description hennes.rohling 2007-10-19 11:02:16 UTC
The OfficeIPCThread has to accept connections on the pipe endpoint. It has to
ensure that connections can be done at every time.

Actually it accepts a connection and makes a synchronous call from the same
thread to the application framework. If this calls resides in a connection
attempt to the pipe no accept will be done on the pipe endpoint and will result
in a deadlock.

OfficeIPCThread must create a second thread to dispatch data and make calls to
the application framework and ensure that the acceptor thread always accepts
connections on the pipe.
Comment 1 andreas.schluens 2007-11-20 09:49:46 UTC
Refactoring of OfficeIPCThread is a huge task and can be dangerous for the whole
office. I wouldnt say we should do that for a 2.4 time frame. new target=3.0
Comment 2 andreas.schluens 2008-06-13 08:04:32 UTC
Comment 3 andreas.schluens 2008-06-30 07:42:13 UTC
Comment 4 Mathias_Bauer 2009-05-06 17:21:43 UTC
Carsten, please take over