9 More Discussions You Might Find Interesting
1. Programming
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
2. UNIX for Advanced & Expert Users
Hi, all:
Is there any shell command to show which interrupt handler handle which interrupt number in the system?
li,kunlun (5 Replies)
Discussion started by: liklstar
5 Replies
3. Programming
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
4. UNIX for Advanced & Expert Users
I receive the following warning messages on a very new machine which has FreeBSD 8.1 x64 installed on it:
Interrupt storm detected on "irq 20" throttling interrupt source
It is unclear what this means and what its origins are (motherboard? CPU? RAM?).
I can start the desktop and the message is... (4 Replies)
Discussion started by: figaro
4 Replies
5. Programming
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
6. Shell Programming and Scripting
Hi
I need to insert 1million records into MySQL database, but it is taking lot of time as there is no bulk insert support.
I want to spawn 10 processes which will insert 100k records each parallely.
Can somebody help me with a example program to execute this task through shell scripting. (5 Replies)
Discussion started by: sach_roger
5 Replies
7. UNIX for Advanced & Expert Users
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
8. Programming
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
9. Programming
: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
ost::Runable(3) Library Functions Manual ost::Runable(3)
NAME
ost::Runable -
A container for objects that can be queued against a runlist.
SYNOPSIS
#include <misc.h>
Public Member Functions
bool starting (Runlist *list)
Start the object against a run list.
void stoping (void)
Stop the object, called when stopping or ready completes.
Protected Member Functions
Runable ()
virtual ~Runable ()
virtual void ready (void)=0
Method handler that is invoked when a wait-listed object becomes ready to run.
Friends
class Runlist
Detailed Description
A container for objects that can be queued against a runlist.
Author:
David Sugar dyfet@ostel.com runable object with notify when ready.
Constructor & Destructor Documentation
ost::Runable::Runable () [protected]
virtual ost::Runable::~Runable () [protected], [virtual]
Member Function Documentation
virtual void ost::Runable::ready (void) [protected], [pure virtual]
Method handler that is invoked when a wait-listed object becomes ready to run.
bool ost::Runable::starting (Runlist *list)
Start the object against a run list. Returns:
true if immediately available to run.
Parameters:
list to start under.
void ost::Runable::stoping (void)
Stop the object, called when stopping or ready completes. May also be used for a task that has not yet started to remove it from the wait
list.
Friends And Related Function Documentation
friend class Runlist [friend]
Author
Generated automatically by Doxygen for GNU CommonC++ from the source code.
GNU CommonC++ Sat Jun 23 2012 ost::Runable(3)