To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=105348
                 Issue #|105348
                 Summary|get rid of LinuxThreads-specific code
               Component|porting
                 Version|DEV300m59
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|ENHANCEMENT
                Priority|P3
            Subcomponent|code
             Assigned to|sb
             Reported by|sb





------- Additional comments from [email protected] Fri Sep 25 07:39:08 +0000 
2009 -------
According to hr, our Linux baseline no longer supports old LinuxThreads, just
NPTL.  There is one place in (DEV300m59) sal/osl/unx/process.c where
LinuxThreads-specific pthread_kill_other_threads_np (which, if still available
at all on an NPTL-based Linux system, performs nothing there) is called, if NPTL
is not defined (that check being added through issue 44027).  The check for NPTL
is in configure, and it uses PTHREAD_CFLAGS to communicate the -DNPTL to the
C/C++ compilers.  (In the setsolar-based environment, PTHREAD_CFLAGS
is---presumably erroneously---not set accordingly for unxlngx6, but for unxlngx6
and unxubti8, see solenv/config/sdev300.)  However, PTHREAD_CLFAGS is also used
on FreeBSD (and NetBSD?), for something different.

To clean up, the following can be remved:
- The call to pthread_kill_other_threads_np in sal/osl/unx/process.c.
- The code to check for NPTL on Linux in configure.in and configure.
- The code to set and read PTHREAD_CFLAGS on Linux in configure.in, configure,
set_soenv.in, solenv/config/sdev300.ini, solenv/config/ssolar.cmn,
solenv/inc/unxln*.mk.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to