Mercurial > pygar
comparison modules/bluespec/Pygar/core/AudioCoreSystem.h @ 75:a15cc186e07d pygar svn.76
[svn r76] should be fully parameterized for however many cores we want (not fully tested)
author | punk |
---|---|
date | Wed, 12 May 2010 03:14:53 -0400 |
parents | 0cfbb1e2de22 |
children |
comparison
equal
deleted
inserted
replaced
74:31fef269ae58 | 75:a15cc186e07d |
---|---|
37 private: | 37 private: |
38 AUDIOCORERRR_CLIENT_STUB clientStub; | 38 AUDIOCORERRR_CLIENT_STUB clientStub; |
39 static sem_t throttle; | 39 static sem_t throttle; |
40 static pthread_mutex_t lock; | 40 static pthread_mutex_t lock; |
41 static pthread_cond_t cond; | 41 static pthread_cond_t cond; |
42 | 42 static bool areAllFilesComplete(int numVoices, bool isFini[]); |
43 | |
43 public: | 44 public: |
44 CONNECTED_APPLICATION_CLASS(VIRTUAL_PLATFORM vp); | 45 CONNECTED_APPLICATION_CLASS(VIRTUAL_PLATFORM vp); |
45 ~CONNECTED_APPLICATION_CLASS(); | 46 ~CONNECTED_APPLICATION_CLASS(); |
46 static void EndSimulation(); | 47 static void EndSimulation(); |
47 static void UpdateSemaphore(); | 48 static void UpdateSemaphore(); |