Mercurial > cgi-bin > hgwebdir.cgi > VMS > C_Libraries > Queue_impl
diff BlockingQueue.h @ 9:62326cc8e6f4
This branch has replace malloc and free with VMS__malloc and VMS__free
| author | Me |
|---|---|
| date | Sun, 31 Oct 2010 20:24:00 -0700 |
| parents | 08f0b4da7610 |
| children |
line diff
1.1 --- a/BlockingQueue.h Tue Sep 07 18:57:51 2010 -0700 1.2 +++ b/BlockingQueue.h Sun Oct 31 20:24:00 2010 -0700 1.3 @@ -42,10 +42,10 @@ 1.4 //========== CAS based queue ========== 1.5 typedef 1.6 struct 1.7 - { volatile int insertLock; 1.8 - volatile int extractLock; 1.9 - volatile void* *insertPos; 1.10 - volatile void* *extractPos; 1.11 + { int insertLock; 1.12 + int extractLock; 1.13 + void* *insertPos; 1.14 + void* *extractPos; 1.15 void* startOfData[1024]; //data is pointers 1.16 void* *endOfData; //set when make queue 1.17 }
