Sponsored Content
Full Discussion: Multithreading program
Top Forums Shell Programming and Scripting Multithreading program Post 302358029 by inotech on Thursday 1st of October 2009 07:08:54 AM
Old 10-01-2009
xargs

HINT:
use xargs -n <XXX> -P <XXX> for multithreading
 

9 More Discussions You Might Find Interesting

1. Programming

Multithreading in Pro*C

:confused: Hi! I have created a Multhreaded Application in Pro*C (using pthreads) with about 5 Threads running simultaneously. The Application is basically to Update a Centralized Table in Oracle, which updates different rows in the Table (Each Thread updates different rows!). The... (16 Replies)
Discussion started by: shaik786
16 Replies

2. Programming

multithreading on OSX

Hi all, I have a query about multithreading. What I would like to do is, at the start of my main update() function, start a couple of threads in parallel, once they are all complete carry on with my main update function. void update() { thread1->update(); // fluid solver ... (3 Replies)
Discussion started by: memoid
3 Replies

3. UNIX for Advanced & Expert Users

multithreading in UNIX

Hi, Can you please give me a suitable reference to learn multithreading programming in C in UNIX? Thanks (3 Replies)
Discussion started by: naan
3 Replies

4. Programming

MultiThreading using Pthreads

Situation: i have multiple pthread_create calls like this: pthread_create(...., ThreadFunc1,.....); pthread_create(...., ThreadFunc2,.....); . . which i am using to create multiple threads.All the "ThreadFunc<i>" functions are actually calling same function "Receive" of a class using same... (3 Replies)
Discussion started by: Sastra
3 Replies

5. IP Networking

how to do udp broadcast with multithreading

hello to all i want to use multithreading to my UDP broadcast server client program. will anyone help me by proving C code. i am working in fedora. also my requirement is POSIX compliance.please help me..... (0 Replies)
Discussion started by: moti12
0 Replies

6. Programming

how to do udp broadcast with multithreading

hello to all i want to use multithreading to my UDP broadcast server client program. will anyone help me by proving C code. i am working in fedora. also my requirement is POSIX compliance.please help me..... (6 Replies)
Discussion started by: moti12
6 Replies

7. Programming

Multithreading in reading file

Dear all, I am having a huge XML file, as below structure <EMPLOYEE> <RECORD id =aaa> <Salary>99999</Salary> <section>ssss</section> </RECORD> <RECORD id =bbb> <Salary>77777</Salary> <section>ssss</section> </RECORD> </EMPLOYEE> This is a 50 GB file I want to read this file in... (9 Replies)
Discussion started by: arunkumar_mca
9 Replies

8. What is on Your Mind?

Alarm interrupt and multithreading

Hi Friends any know how became a friend in this Android Programming Language (0 Replies)
Discussion started by: ljarun
0 Replies

9. Programming

Help with multithreading

I take this question of the The Linux Programming Interface: A Linux and Unix System Programming page 652 exercise 30.1 I want someone to explain the under line statement because it sounds complex to me couldn't understand anything 30-1 Modify the program (thread_incr.c) so that each loop in... (3 Replies)
Discussion started by: fwrlfo
3 Replies
tt_thread_session(library call) 										   tt_thread_session(library call)

NAME
tt_thread_session -- retrieve the default session identifier for the currently active thread SYNOPSIS
#include <Tt/tt_c.h> char *tt_thread_session( ); DESCRIPTION
The tt_thread_session function retrieves the default session identifier for the currently active thread. If there is no default session set for the currently-active thread, then the process default session identifier is returned. A session can have more than one session identifier. This means, for example, that the application cannot compare the result of tt_thread_session with the result of tt_message_session to verify that the message was sent in the default session. The returned pointer points to the character string name of the session. When no longer needed, it must be freed with tt_free. ARGUMENTS
None. RETURN VALUE
Upon successful completion, the tt_thread_session function returns the pointer to a character string that uniquely identifies the default session for the currently active thread. TT_OK The operation completed successfully. TT_ERR_NOMP The ttsession process is not running and the ToolTalk service cannot start it. TT_ERR_PROCID The current default process identifier is out of date or invalid. TT_ERR_UNIMP The ToolTalk implementation does not support multithreading. TT_ERR_TOOLATE The multithreading feature has not been enabled. APPLICATION USAGE
None. SEE ALSO
Tt/tt_c.h - Tttt_c(5), tt_free(3), tt_ptr_error(3) tt_thread_session(library call)
All times are GMT -4. The time now is 10:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy