]> git.pld-linux.org Git - packages/libreoffice.git/blob - openoffice-thread-yield.patch
- up
[packages/libreoffice.git] / openoffice-thread-yield.patch
1 Index: sal/osl/unx/thread.c
2 ===================================================================
3 RCS file: /cvs/oo/porting/sal/osl/unx/thread.c,v
4 retrieving revision 1.21.8.1
5 diff -u -p -u -r1.21.8.1 thread.c
6 --- sal/osl/unx/thread.c        25 Nov 2002 12:11:18 -0000      1.21.8.1
7 +++ sal/osl/unx/thread.c        29 Apr 2003 12:16:53 -0000
8 @@ -598,7 +598,9 @@ void SAL_CALL osl_waitThread(const TimeV
9  /*****************************************************************************/
10  void SAL_CALL osl_yieldThread()
11  {
12 -    sched_yield();
13 +#ifndef LINUX
14 +       sched_yield();
15 +#endif
16  }
17  
18  /*****************************************************************************/
This page took 0.028236 seconds and 3 git commands to generate.