/[svn]/liblscp/trunk/lscp/thread.h
ViewVC logotype

Diff of /liblscp/trunk/lscp/thread.h

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

revision 177 by capela, Tue Jul 6 14:06:17 2004 UTC revision 869 by capela, Thu Jun 1 08:32:16 2006 UTC
# Line 2  Line 2 
2  //  //
3  /****************************************************************************  /****************************************************************************
4     liblscp - LinuxSampler Control Protocol API     liblscp - LinuxSampler Control Protocol API
5     Copyright (C) 2004, rncbc aka Rui Nuno Capela. All rights reserved.     Copyright (C) 2004-2006, rncbc aka Rui Nuno Capela. All rights reserved.
6    
7     This library is free software; you can redistribute it and/or     This library is free software; you can redistribute it and/or
8     modify it under the terms of the GNU Lesser General Public     modify it under the terms of the GNU Lesser General Public
# Line 108  lscp_status_t  lscp_thread_cancel  (lscp Line 108  lscp_status_t  lscp_thread_cancel  (lscp
108  lscp_status_t  lscp_thread_destroy (lscp_thread_t *pThread);  lscp_status_t  lscp_thread_destroy (lscp_thread_t *pThread);
109    
110  #if defined(WIN32)  #if defined(WIN32)
 #define lscp_thread_exit()  pthread_exit(NULL)  
 #else  
111  #define lscp_thread_exit()  ExitThread(0)  #define lscp_thread_exit()  ExitThread(0)
112    #else
113    #define lscp_thread_exit()  pthread_exit(NULL)
114  #endif  #endif
115    
116  #if defined(__cplusplus)  #if defined(__cplusplus)

Legend:
Removed from v.177  
changed lines
  Added in v.869

  ViewVC Help
Powered by ViewVC