search for: consumevalu

Displaying 2 results from an estimated 2 matches for "consumevalu".

Did you mean: consumevalue
2013 May 14
2
[LLVMdev] Queue implementation is being trapped
...rence to my queue, and the channel is not really important): *extern "C" { * *#ifdef INT_TYPE* * void __attribute__((noinline))* * TYPED_NAME(produceValue)(int channel, TYPE elem)* * {Q->addElement (channel, (long)elem);}* * * * TYPE __attribute__((noinline))* * TYPED_NAME(consumeValue)(int channel)* * {return (TYPE) Q->removeElement (channel);}* *#endif* * * * void __attribute__((noinline))* * TYPED_NAME(producePtrValue)(int channel, TYPE* elem)* * {Q->addPtrElement (channel, (void*)elem);}* * * * TYPE* __attribute__((noinline))* * TYPED_NAME(consumePtrValu...
2013 May 14
0
[LLVMdev] Queue implementation is being trapped
...n "C" { * > > *#ifdef INT_TYPE* > > * void __attribute__((noinline))* > > * TYPED_NAME(produceValue)(int channel, TYPE elem)* > > * {Q->addElement (channel, (long)elem);}* > > * > * > > * TYPE __attribute__((noinline))* > > * TYPED_NAME(consumeValue)(int channel)* > > * {return (TYPE) Q->removeElement (channel);}* > > *#endif* > > * > * > > * void __attribute__((noinline))* > > * TYPED_NAME(producePtrValue)(int channel, TYPE* elem)* > > * {Q->addPtrElement (channel, (void*)elem);}* > > *...