Hello everybody ,
is there such a queue in b4a, as described in subject..
I know that in other languages as i used it, for example python, the queue are thread safe read and write and you can block on picking element if the queue is empty , so i can create a sort of automatic producer-consumer pattern. Moreover you can always check if the quues is empty and blok on item picking untile other thread put a item in the queue. Then the picker resume and you have the producer-consumer totally not coupled....sorry for my english hope to have benn clear.
I really appreciate your support
Alessandro
is there such a queue in b4a, as described in subject..
I know that in other languages as i used it, for example python, the queue are thread safe read and write and you can block on picking element if the queue is empty , so i can create a sort of automatic producer-consumer pattern. Moreover you can always check if the quues is empty and blok on item picking untile other thread put a item in the queue. Then the picker resume and you have the producer-consumer totally not coupled....sorry for my english hope to have benn clear.
I really appreciate your support
Alessandro