04-19-2006
I tried it on HPUX 11.0 - a vclass 12 cpu box and a kclass 6 cpu box.
I don't get any perceivable pattern except that at each end of the stream we get
monotony.
I second Perderabo - you can't expect this to behave "predictably", and threads on SMP vs threads on single cpu box is not a fair comparison.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Can anyone explain me how to use pthread_key_create() , pthread_setspecific(), pthread_getspecific() and pthread_key_delete () routines in pthreads.
Kindly state by an example. (3 Replies)
Discussion started by: S.P.Prasad
3 Replies
2. Programming
Does any one no of some good web site which will explain about how to program using pthreads in a UNIX enviroment? (6 Replies)
Discussion started by: fishman2001
6 Replies
3. Programming
howcome that pthtreads spawn 2 extra processes?
I'm kind of new with pthreads but fork() did not act like this.
Anyone who can give me a technical explanation of what happends with mother / daughter processes?
Best regards Esaia. (2 Replies)
Discussion started by: Esaia
2 Replies
4. Programming
I have created a thread program, it is attached. My problem is that I need to loop this program multiple times, and basically reset everything including the threads created previously. I try to loop the program, the first run is fine, as always, but the second run of the program, the initialize... (0 Replies)
Discussion started by: justgotthis
0 Replies
5. UNIX for Dummies Questions & Answers
How to give superuser privileges while setting the attributes like pthread_attr_setschedpolicy( )??
Even with normal user mode ,it is working fine for me.But in man pages, they have specied that to set the scheduling policy as SCHED_FIFO, the process should have superuser privileges. (0 Replies)
Discussion started by: yashavant.a
0 Replies
6. HP-UX
Hi!
I'm linking my hpux code using -lpthread (gcc), yet it references libpthread_tr.1,
the debug version of the pthread lib. How do I force it to use pthreads?
Thanks, :) (3 Replies)
Discussion started by: zackz
3 Replies
7. Programming
hi
i have a code:
I found that after exiting from child thread memory isn't freed. I commented everything which is "some actions" here, so thread's function contains only two lines. But it doesn't help.
What do I do wrong?
Thanks a lot (3 Replies)
Discussion started by: sery0ga
3 Replies
8. UNIX for Advanced & Expert Users
Hello,
consider a bunch of threads which want to execute a while
loop in parallel but after each iteration of while loop,
we need a synchornization.That is, we have a global
count varibale which is equal to zero at beginig of each iteration
and at the end of each iterartion this variable... (0 Replies)
Discussion started by: Behnaz
0 Replies
9. 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
10. Programming
Hello,
I am writing a threaded program using the pthread library in linux. I have a master thread that needs to control worker threads, in particular, it has to be able to ensure that none of the worker threads will be running for a specified amount of time, even if the worker threads are... (7 Replies)
Discussion started by: andres625
7 Replies
LEARN ABOUT DEBIAN
jsb-fleet
JSONBOT(1) jsb manual JSONBOT(1)
NAME
jsb-fleet - The JSONBOT fleet program
SYNOPSIS
jsb-fleet is the program where you can combine IRC bots and XMPP bots into one program.
DESCRIPTION
When you want to forward IRC to other bots you need an XMPP bot to let it communicate with these bots. The jsb-fleet progam lets you com-
bine IRC bots and XMPP bots to forward events to other bots with a XMPP component running. Communication to GAE bots is also done through
XMPP.
USAGE
First run your bots with jsb-irc and jsb-xmpp , make sure they work. After this you can run them all by starting jsb-fleet.
Usage: jsb-fleet [options] [list of bot names]
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-a, --all show available fleet bots
-d DATADIR, --datadir=DATADIR
datadir of the bot
-l LOGLEVEL, --loglevel=LOGLEVEL
loglevel of the bot
-o OWNER, --owner=OWNER
owner of the bot
-r PATH resume the bot from the folder specified
DOCUMENTATION
See http://jsonbot.org for more documentation or see http://jsonbot.googlecode.com
SEE ALSO
jsb(1), jsb-backup(1), jsb-init(1), jsb-irc(1), jsb-xmpp(1), jsb-tornado(1), jsb-stop(1), jsb-udp(1), jsonbot(1)
SEE ALSO
The program is documented fully on http://jsonbot.appspot.com/docs
AUTHOR
This manual page was written by Bart Thate <bthate@gmail.com>, for the Debian GNU/Linux system (but may be used by others).
Debian GNU/Linux 22 Nov 2011 JSONBOT(1)