Questions tagged [fifo]

Any structure in which the First object In is the First object Out. Synonyms include queue, and pipe.

Any structure in which the First object In is the First object Out.

See:

1105 questions
-3
votes
1 answer

C++ Client-server (FIFOs, pipes, forks)

I' ll attach here the code I wrote, it doesn't work the way it should, it doesn't read properly from fifo. It was sending the username correctly before adding more code, it makes me think I wrote the code bad from beginning. If it's helpful I'll…
fabi
  • 1
  • 2
-3
votes
1 answer

4 FIFO and serialization

I have implemented a 4 FIFO Queue and a block that searches for FIFO index and when found a FIFO that is not empty will extract data end, it will send it serially. This is the code: library IEEE; use IEEE.STD_LOGIC_1164.ALL; use…
-3
votes
1 answer

Whether fcntl record lock can work in multithreads

I tried fcntl record lock work in multithreads on linux. But it seems fcntl record lock doesn't work? Can fcntl record lock work in multithreads?
yafeng
  • 1
  • 1
-3
votes
1 answer

Mysql fifo query stock

I have this mysql table and i need a query to know available pcs of every order distinct by type. Is it possible to do? Must work as fifo queue Now i need a query to know how pieces of every order are available ES Order Type Available…
-3
votes
1 answer

Program running mkfifo doesn't work

I'm trying to make a named pipe on c under linux using the mkfifo command. But when I run the program, I either get a "no such file or directory" error or absolutely nothing (console doesn't display anything) Here is my code : #include…
Thomas Levan
  • 3
  • 1
  • 2
-3
votes
1 answer

How to set FIFO and palindrome compare?

I have this windows application 1.- So, first when I Add a number it added to listbox1 but not to list 2. I need to be add ed to listo 2 to 2.- I need the numbers be added separately... For example if I add number 202, it split on 2 after 0 after…
-3
votes
1 answer

Verilog testbench for fifo

Can anyone help me in writing verilog test bench code for the following code !. I have tried but it's doesn't work !. it's a code for fifo(first in first out) with a single clock. i use icarus simulator fifo4: `timescale 1ns/10ps module fifo4(clk,…
user3446601
  • 1
  • 1
  • 1
-4
votes
2 answers

FIFO implementation - VHDL

I come across one more difficulty while instantiate the fifo code to my top module. I want to store some set of data say "WELCOME TO THE WORLD OF FPGA" from my serial port ( receiving subsystem) then i want to retrieve it back say when button on…
skale
  • 1
  • 4
-4
votes
1 answer

How do you use a typedef struct for a FIFO?

I just started programming in C for school. I am being asked to do a program that uses a FIFO struct to resolve math problems. I got the folowing code on the internet for a FIFO, I just don't know how to use it. I tried a lot of things and I can't…
Raphael Valois
  • 165
  • 3
  • 13
-4
votes
2 answers

passing argument 2 of ‘strcat’ makes pointer from integer without a cast [-Wint-conversion]

I am reading off a fifo, and then I try to make a another array in different format out of it. I know buf gets its values as expected, since printing it out is good. char graphic[100]; char buf[100]; read(fd_read,&buf,50); for(int i=0; i<10;…
aviadm71
  • 53
  • 1
  • 9
1 2 3
73
74