diff VPThread.h @ 14:bbcb6fadb60f

bug fixes during the port of c-ray
author Merten Sach <msach@mailbox.tu-berlin.de>
date Mon, 15 Aug 2011 16:44:09 +0200
parents ce4ad44fcc23
children bb2500771be8
line diff
     1.1 --- a/VPThread.h	Tue Jul 26 16:38:23 2011 +0200
     1.2 +++ b/VPThread.h	Mon Aug 15 16:44:09 2011 +0200
     1.3 @@ -166,7 +166,7 @@
     1.4  VPThread__create_thread( VirtProcrFnPtr fnPtr, void *initData,
     1.5                            VirtProcr *creatingPr );
     1.6  
     1.7 -inline VirtProcr *
     1.8 +inline void
     1.9  VPThread__create_thread_with_affinity( VirtProcrFnPtr fnPtr, void *initData,
    1.10                            VirtProcr *creatingPr,  int32  coreToScheduleOnto );
    1.11  
    1.12 @@ -198,7 +198,7 @@
    1.13  inline void
    1.14  VPThread__cond_wait( int32 condIdx, VirtProcr *waitingPr);
    1.15  
    1.16 -inline void *
    1.17 +inline void
    1.18  VPThread__cond_signal( int32 condIdx, VirtProcr *signallingPr );
    1.19  
    1.20  
    1.21 @@ -244,6 +244,9 @@
    1.22  VPThread__malloc( size_t sizeToMalloc, VirtProcr *animPr );
    1.23  
    1.24  void
    1.25 +VPThread__free( void *ptrToFree, VirtProcr *animPr );
    1.26 +
    1.27 +void
    1.28  VPThread__init();
    1.29  
    1.30  void