B4J Code Snippet FIFO queue - Daestrum    Mar 27, 2018   (3 reactions) I find this quite useful - its a FIFO queue (First-In-First-Out)
Initialize - sets up the queue.
isInitilized - true if initialized false if not
push - add an item to the queue (Always to... B4J Question Are CallSubDelayed events FIFO? - OliverA    Aug 27, 2018   (2 reactions) If I call a method several times vial CallSubDelayed, will the execution of the events/the method be processed in FIFO order? If yes, can that be given as a guarantee (unless some program exception occurs)? If not, in what order will the methods be executed? A simple non-gui test seems to indicate FIFO, I'm just trying to get a clarification on this. Why? That would be one way to create... B4A Question FIFO let's play. - IanMc    Jan 12, 2013 FIFO comes from ye olde English song 'Fee FIFO Fumb, I smell the blood of an English Mon'... calling it something like, oh I don't know, FIFO maybe?
Then you could create a new instance... B4R Question FIFO data structure - demasi (first post)    Jul 5, 2017 Wow! You are great. No words to thank you. :)... B4A Question Using a FIFO to handle temporary loss of connectivity - pjetson (first post)    Oct 7, 2014 from a list and it will change size accordingly.
In my application, I basically wanted a FIFO queue...).
Setting up the FIFO buffer is easy:
Dim Buffer As List
Buffer.Initialize
Adding an item to the FIFO... B4R Library [module] Queue list - Erel    Jul 6, 2017   (9 reactions) Queue is a FIFO collection. You can add elements to the end of the queue and get the first item. Access the first item with Queue.FirstItem. Example: Private Sub AppStart Serial1.Initialize(115200) Log("AppStart") Queue.AddBytes("Item 1") Queue.AddBytes("Item 222") Queue.AddBytes("Item 3333") Queue.AddBytes("Item 44") Queue.AddBytes("Item 555555") Queue.RemoveFirst Queue.AddBytes("Item 612312"... B4J Question Raspberry Pi GPIO Write a byte? - techknight    Nov 27, 2019 So, I was looking at this tutorial: https://www.b4x.com/android/forum/threads/iot-jpi4j-raspberry-pi-gpio-controller.37493/#content I have used raspberry pis in alot of projects, but this is the first time I am interacting with the GPIO. I see there is examples on how to control each pin individually, But is it possible to group a bunch of pins for Byte-wide transfers? I have a FIFO hooked into the GPIO and I would like to transfer binary files I open into the FIFO which requires me to... B4J Question Refresh UI while running step by step (F8) - EnriqueGonzalez (first post)    Feb 6, 2025   (2 reactions) B4j UI threads are always updated last and they are not even ordered FiFo.
They will be enqueued and once all other processes finish then UI thread will be updated on no particular order.... Wish Sticky me - anOparator    Jan 24, 2024   (2 reactions) 150017150018WISH Help keep my 3 current projects in the Recent FILEs menu so my test projects don't FIFO them.... B4R Question HttpJob.bas: how to make sure that each POST is sent and received? - peacemaker (first post)    Feb 15, 2025 But how in whole to code such HttpJobs queue in the limited memory of MCU ? Just ignoring HTTP-requests here - is bad idea. But and stacking all the requests - is also impossible... All depends on the time: if previous request is slowly running - it's time to send next request. It needs some synchronous HTTP-requests FIFO queue.... Page: 1   2   3   4   5   6   7   |