/[svn]/linuxsampler/trunk/src/common/Thread.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/common/Thread.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2184 by nagata, Fri Jan 25 15:06:02 2008 UTC revision 2185 by persson, Sun Jun 19 09:09:38 2011 UTC
# Line 3  Line 3 
3   *   LinuxSampler - modular, streaming capable sampler                     *   *   LinuxSampler - modular, streaming capable sampler                     *
4   *                                                                         *   *                                                                         *
5   *   Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck   *   *   Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck   *
6   *   Copyright (C) 2005 - 2007 Christian Schoenebeck                       *   *   Copyright (C) 2005 - 2011 Christian Schoenebeck                       *
7   *                                                                         *   *                                                                         *
8   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
9   *   it under the terms of the GNU General Public License as published by  *   *   it under the terms of the GNU General Public License as published by  *
# Line 23  Line 23 
23    
24  #include "Thread.h"  #include "Thread.h"
25    
26    #if HAVE_CONFIG_H
27    # include <config.h>
28    #endif
29    
30  // this is the minimum stack size a thread will be spawned with  // this is the minimum stack size a thread will be spawned with
31  // if this value is too small, the OS will allocate memory on demand and  // if this value is too small, the OS will allocate memory on demand and
32  // thus might lead to dropouts in realtime threads  // thus might lead to dropouts in realtime threads
# Line 363  int Thread::Destructor() { Line 367  int Thread::Destructor() {
367      return 0;      return 0;
368  }  }
369    
370    void Thread::TestCancel() {
371    #if CONFIG_PTHREAD_TESTCANCEL
372        pthread_testcancel();
373    #endif
374    }
375    
376  #if defined(WIN32)  #if defined(WIN32)
377  DWORD WINAPI __win32thread_launcher(LPVOID lpParameter) {  DWORD WINAPI __win32thread_launcher(LPVOID lpParameter) {
378      Thread* t;      Thread* t;

Legend:
Removed from v.2184  
changed lines
  Added in v.2185

  ViewVC Help
Powered by ViewVC