Sponsored Content
Top Forums Shell Programming and Scripting Multi thread shell programming Post 302551282 by yazu on Tuesday 30th of August 2011 02:23:08 AM
Old 08-30-2011
Look at GNU parallel. Their man page has good examples.
 

9 More Discussions You Might Find Interesting

1. Programming

Multi threading using posix thread library

hi all, can anyone tell me some good site for the mutithreading tutorials, its application, and some code examples. -sushil (2 Replies)
Discussion started by: shushilmore
2 Replies

2. AIX

Thread programming

Are there any differences about pthread programming between AIX 5.2 and True 64 UNIX 5.1B ? Anyone can give some special tips on AIX? (0 Replies)
Discussion started by: Frank2004
0 Replies

3. Programming

Posix Thread Programming

Hello, i have 2 questions: 1. Can I get the current memory usage of a thread? 2. Can I use a member-function as (void*)(*)(void*) method to create a new thread with "pthread_create(...)"?? I would be happy about any suggestion. Regards, Rolf (2 Replies)
Discussion started by: rkasel
2 Replies

4. Programming

About thread programming !

pthread_create(&tid, &Attr, A, NULL); pthread_create(&tid, &Attr, B, NULL); pthread_create(&tid, &Attr, C, NULL); A,B,C are the name of the functiont that the thread excute Hi all ! I want to ask so with these commands ,how the program will excute . What the way it will do . Please... (0 Replies)
Discussion started by: iwbasts
0 Replies

5. UNIX for Dummies Questions & Answers

error in thread programming

Can you please let me know how to resolve this error: cc pc1.c /tmp/cc2os7n1.o: In function `main':pc1.c:(.text+0x89): undefined reference to `pthread_create' collect2: ld returned 1 exit status (3 Replies)
Discussion started by: p_aishwarya
3 Replies

6. Programming

Multi thread data sharing problem in uclinux

hello, I have wrote a multi thread application to run under uclinux. the problem is that threads does not share data. using the ps command it shows a single process for each thread. I test the application under Ubuntu 8.04 and Open Suse 10.3 with 2.6 kernel and there were no problems and also... (8 Replies)
Discussion started by: mrhosseini
8 Replies

7. Shell Programming and Scripting

Multi thread awk command for faster performance

Hi, I have a script below for extracting xml from a file. for i in *.txt do echo $i awk '/<.*/ , /.*<\/.*>/' "$i" | tr -d '\n' echo -ne '\n' done . I read about using multi threading to speed up the script. I do not know much about it but read it on this forum. Is it a... (21 Replies)
Discussion started by: chetan.c
21 Replies

8. UNIX for Dummies Questions & Answers

Shell script to read lines in a text file and filter user data Shell Programming and Scripting

sxsaaas (3 Replies)
Discussion started by: VikrantD
3 Replies

9. Programming

Multi process programming in C

So I am trying to learn C and am coding some scripts on my own. For a start I have decided to port the shell script developed by wisecracker into C.( Here is the link to that script A simple reminder script for beginners to shell scripting. | Unix Linux Forums | OS X (Apple) ) This is what I... (7 Replies)
Discussion started by: chacko193
7 Replies
mlib_SignalIIR_P4_S16_S16_Sat(3MLIB)			    mediaLib Library Functions			      mlib_SignalIIR_P4_S16_S16_Sat(3MLIB)

NAME
mlib_SignalIIR_P4_S16_S16_Sat, mlib_SignalIIR_P4_S16S_S16S_Sat, mlib_SignalIIR_P4_F32_F32, mlib_SignalIIR_P4_F32S_F32S - parallel Infinite Impulse Response (IIR) filtering SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> mlib_status mlib_SignalIIR_P4_S16_S16_Sat(mlib_s16 *dst, const mlib_s16 *src, void *filter, mlib_s32 n); mlib_status mlib_SignalIIR_P4_S16S_S16S_Sat(mlib_s16 *dst, const mlib_s16 *src, void *filter, mlib_s32 n); mlib_status mlib_SignalIIR_P4_F32_F32(mlib_f32 *dst, const mlib_f32 *src, void *filter, mlib_s32 n); mlib_status mlib_SignalIIR_P4_F32S_F32S(mlib_f32 *dst, const mlib_f32 *src, void *filter, mlib_s32 n); DESCRIPTION
Each of these functions applies a fourth order parallel IIR filter to one signal packet and updates the filter state. Equation that represents the fourth order parallel IIR filtering. Equation that represents the fourth order parallel IIR filtering The fourth order parallel IIR filter is represented by the following figure: Please see the online man page on docs.sun.com or a print copy for the diagram. Figure that represents the fourth order parallel IIR filter PARAMETERS
Each of the functions takes the following arguments: dst Destination signal array. src Source signal array. filter Internal filter structure. n Number of signal samples. RETURN VALUES
Each of the functions returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
mlib_SignalIIR_Biquad_S16_S16_Sat(3MLIB), mlib_SignalIIRFree_Biquad_S16_S16(3MLIB), mlib_SignalIIRFree_P4_S16_S16(3MLIB), mlib_SignalI- IRInit_Biquad_S16_S16(3MLIB), mlib_SignalIIRInit_P4_S16_S16(3MLIB), attributes(5) SunOS 5.10 9 Nov 2004 mlib_SignalIIR_P4_S16_S16_Sat(3MLIB)
All times are GMT -4. The time now is 09:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy