diff VPThread.h @ 6:ce4ad44fcc23

make hardware independent and port to 64bit
author Merten Sach <msach@mailbox.tu-berlin.de>
date Thu, 16 Jun 2011 14:39:38 +0200
parents 505d3c674ce8
children bbcb6fadb60f f593241c2db9
line diff
     1.1 --- a/VPThread.h	Mon Jun 06 18:30:00 2011 +0200
     1.2 +++ b/VPThread.h	Thu Jun 16 14:39:38 2011 +0200
     1.3 @@ -75,7 +75,7 @@
     1.4     VirtProcrFnPtr       fnPtr;
     1.5     int32                coreToScheduleOnto;
     1.6  
     1.7 -   int32                sizeToMalloc;
     1.8 +   size_t                sizeToMalloc;
     1.9     void                *ptrToFree;
    1.10  
    1.11     int32              singletonID;
    1.12 @@ -240,6 +240,9 @@
    1.13  
    1.14  //=======================
    1.15  
    1.16 +void *
    1.17 +VPThread__malloc( size_t sizeToMalloc, VirtProcr *animPr );
    1.18 +
    1.19  void
    1.20  VPThread__init();
    1.21