help About fifo and thread


 
Thread Tools Search this Thread
Top Forums Programming help About fifo and thread
# 1  
Old 05-16-2009
help About fifo and thread

hi, my problem is

i have 10 thread for produces double two dimensional array these will produces 2d array 400 times ,then i have a thread to takes a two dimensional array then it inverse , and most 10 array can be in the fifo , and threads given takes one by one, now my problem is , i cant send 2d array to fifo, then i cant read array with fifo , i just send(write) char* to fifo then i read char Smilie , how can i send double dimensional array to fifo or another alternative.. thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. UNIX and Linux Applications

FIFO

Hello , I am working on unix FIFO IPC. i have a doubt regarding that. If the fifo is updated(write()) through one process....can we able to send any signal that fifo is updated and ready to get read...to other process.?? (0 Replies)
Discussion started by: Harry443
0 Replies

2. Programming

Help With FIFO problem...

=server.c= #include <stdio.h> #include <stdlib.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> #include <errno.h> #include <fcntl.h> #include <string.h> #include <signal.h> #define MSGSIZE 50 (1 Reply)
Discussion started by: sponge
1 Replies

3. Programming

fifo

Dear friends i'm want to implement a program which one file is split into fragments by the server (by some random size) and sent to some processes, so these processes get randomly the fragments of the original file from the server, then the downloader randomly connects to some of these processes... (0 Replies)
Discussion started by: saman_glorious
0 Replies

4. Programming

how to use fifo

hi, I have a problem. I've done a lil program which gets from the server the given persons username a personal folder. I made it with a pipe calling popen with a command, but how can i make the same thing using fifo. I make the fifo with mkfifo() func. and than what. How do I tell the sertver using... (3 Replies)
Discussion started by: atticus
3 Replies

5. Programming

How to cancel a thread safely from the initial thread?

how about asynchronous canceling? or with signal? if with signal whether it effects the process? my english so badly :( :( (1 Reply)
Discussion started by: alan.zhao
1 Replies
Login or Register to Ask a Question
zlarcm.f(3)							      LAPACK							       zlarcm.f(3)

NAME
zlarcm.f - SYNOPSIS
Functions/Subroutines subroutine zlarcm (M, N, A, LDA, B, LDB, C, LDC, RWORK) ZLARCM copies all or part of a real two-dimensional array to a complex array. Function/Subroutine Documentation subroutine zlarcm (integerM, integerN, double precision, dimension( lda, * )A, integerLDA, complex*16, dimension( ldb, * )B, integerLDB, complex*16, dimension( ldc, * )C, integerLDC, double precision, dimension( * )RWORK) ZLARCM copies all or part of a real two-dimensional array to a complex array. Purpose: ZLARCM performs a very simple matrix-matrix multiplication: C := A * B, where A is M by M and real; B is M by N and complex; C is M by N and complex. Parameters: M M is INTEGER The number of rows of the matrix A and of the matrix C. M >= 0. N N is INTEGER The number of columns and rows of the matrix B and the number of columns of the matrix C. N >= 0. A A is DOUBLE PRECISION array, dimension (LDA, M) A contains the M by M matrix A. LDA LDA is INTEGER The leading dimension of the array A. LDA >=max(1,M). B B is DOUBLE PRECISION array, dimension (LDB, N) B contains the M by N matrix B. LDB LDB is INTEGER The leading dimension of the array B. LDB >=max(1,M). C C is COMPLEX*16 array, dimension (LDC, N) C contains the M by N matrix C. LDC LDC is INTEGER The leading dimension of the array C. LDC >=max(1,M). RWORK RWORK is DOUBLE PRECISION array, dimension (2*M*N) Author: Univ. of Tennessee Univ. of California Berkeley Univ. of Colorado Denver NAG Ltd. Date: September 2012 Definition at line 115 of file zlarcm.f. Author Generated automatically by Doxygen for LAPACK from the source code. Version 3.4.2 Tue Sep 25 2012 zlarcm.f(3)