Hi Matt,

> Why is there no sample for queue?
It seems I never got to that.
There is a test_queue.jal, to test it but this won't give samples
since there are some tags missing. The code is okay for testing, but a
bit too complex as a sample. So I guess this file should be renamed to
tst_queue.jal and test_queue.jal should be an example...

> I was thinking that I could make pseudo vars like
> queue01_nb_put_word() that would contain queue01_nb_put() and
> queue01_nb_get(). This new pseudo var would simply split a word into 2
> bytes and use the existing pseudo vars. Would this work, or would we
> get bad data if an interrupt occurs?
This should work, as long different sized calles are not mixed. It
should be  interrupt-safe as is, so up to 256 bytes buffer (128 words,
64 dwords etc).

Joep

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to