Mercurial > cgi-bin > hgwebdir.cgi > VMS > C_Libraries > Queue_impl
comparison PrivateQueue.c @ 16:8fd77f9430f0
Nov 14 Vers -- changed to makeVMSPrivQ to denote uses VMS__ things inside
| author | Me |
|---|---|
| date | Sun, 14 Nov 2010 11:14:51 -0800 |
| parents | 1ab93714b9c1 |
| children | 1e93e5dbeda1 |
comparison
equal
deleted
inserted
replaced
| 9:16597d9f918b | 10:613aa1716bf0 |
|---|---|
| 19 | 19 |
| 20 /*This kind of queue is private to a single core at a time -- has no | 20 /*This kind of queue is private to a single core at a time -- has no |
| 21 * synchronizations | 21 * synchronizations |
| 22 */ | 22 */ |
| 23 | 23 |
| 24 PrivQueueStruc* makePrivQ() | 24 PrivQueueStruc* makeVMSPrivQ() |
| 25 { | 25 { |
| 26 PrivQueueStruc* retQ; | 26 PrivQueueStruc* retQ; |
| 27 retQ = (PrivQueueStruc *) VMS__malloc( sizeof( PrivQueueStruc ) ); | 27 retQ = (PrivQueueStruc *) VMS__malloc( sizeof( PrivQueueStruc ) ); |
| 28 | 28 |
| 29 retQ->startOfData = VMS__malloc( 1024 * sizeof(void *) ); | 29 retQ->startOfData = VMS__malloc( 1024 * sizeof(void *) ); |
