04-27-2011
How to Create a New Thread
please tell me how can i post a new post. i am not getting any option to post a new question.
any suggestion is highly appreciated.
thanks,
Arpit
8 More Discussions You Might Find Interesting
1. HP-UX
Hello,
J create a thread C with a JNI function via JAVA.
J have the following message (but not in each time):
Someone has an idea ?
Thank.
Unexpected Signal : 4 occurred at PC=0x78C103E0
Function=
Library=(N/A)
NOTE: We are unable to locate the function name... (0 Replies)
Discussion started by: AUBERT
0 Replies
2. Programming
hi all,
my requirement is to create a thread by calling another function.
i.e i dont call pthread_create directly from main, but by calling another function (createThd - below ), from main.
Example:
void *thread_function(void *arg) { /* thread function */
int i;
rc =... (3 Replies)
Discussion started by: wolwy_pete
3 Replies
3. Programming
hello
I have this code
#include <sys/types.h>
#include <unistd.h>
#include <iostream>
#include <pthread.h>
#include<cstring>
using namespace std;
int var1=0;
void doSomething()
{
var1 = 5;
cout<<"Do S :"<<var1<<endl;
sleep(1);
var1 =7; (4 Replies)
Discussion started by: vip_a1
4 Replies
4. UNIX for Advanced & Expert Users
I think I know the answer but I'll ask and see if someone with more expertise can share new light on this topic: Does Ksh have the capability to create new threads (not processes) and/or offer some multiplexing on named pipes?
Thanks for your assistance!
~sreyes27 (2 Replies)
Discussion started by: sreyes27
2 Replies
5. Programming
I try to initial a UDP client from threading, but it doesn't work? why?
These codes from the textbook
#define ECHOMAX 255 /* Longest string to echo */
#define TIMEOUT_SECS 2 /* Seconds between retransmits */
#define MAXTRIES 5 /* Tries before giving up */... (3 Replies)
Discussion started by: sehang
3 Replies
6. UNIX for Advanced & Expert Users
Hello everyone,
I created a test program for pthread priority set. Here's the code, very simple, 60 lines only.
I've tried this prog on my Fedora 13(on vbox), and on my 6410 arm linux 2.6.36. Both the same result.
Both environments are using root privileges.
Can any body tells me why the... (15 Replies)
Discussion started by: ss1969
15 Replies
7. Forum Support Area for Unregistered Users & Account Problems
Hi, Scott, I am still meet a problem when I want to reply or create a new thread in "Shell Programming and Scripting" Forum, It reminds that:
To create new threads in this forum your post count must be 10 or greater.
You currently have 2 posts.
To my surprise, I posted a thread in "Shell... (4 Replies)
Discussion started by: weichanghe2000
4 Replies
8. Forum Support Area for Unregistered Users & Account Problems
Hi.
I registered, but when trying to post, I get ...
"Sorry, you do not have enough Bits to post a new thread"
Google & Forum search showed some hits, but no solution.
Please advide.
Thanks! (1 Reply)
Discussion started by: gehe
1 Replies
LEARN ABOUT DEBIAN
nzbget
NZBGET(1) User Commands NZBGET(1)
NAME
nzbget - binary news file grabber
DESCRIPTION
Usage:
nzbget [switches]
Switches:
-h, --help
Print this help-message
-v, --version
Print version and exit
-c, --configfile <file>
Filename of configuration-file
-n, --noconfigfile
Prevent loading of configuration-file (required options must be passed with --option)
-p, --printconfig
Print configuration and exit
-o, --option <name=value> Set or override option in configuration-file
-s, --server
Start nzbget as a server in console-mode
-D, --daemon
Start nzbget as a server in daemon-mode
-V, --serverversion
Print server's version and exit
-Q, --quit
Shutdown server
-A, --append <nzb-file>
Send file to server's download queue
-C, --connect
Attach client to server
-L, --list
[F|G|O|S|H] Request list of downloads from server
F list individual files and server status (default)
G list groups (nzb-files) and server status
O list post-processor-queue
H list history
S print only server status
-P, --pause
[D|D2|O|S] Pause server:
D pause download queue (default)
D2 pause download queue via second pause-register
O pause post-processor queue
S pause scan of incoming nzb-directory
-U, --unpause [D|D2|O|S]
Unpause server:
D unpause download queue (default)
D2 unpause download queue via second pause-register
O unpause post-processor queue
S unpause scan of incoming nzb-directory
-R, --rate <speed>
Set download rate on server, in KB/s
-T, --top
Add file to the top (beginning) of queue (for using with switch --append)
-K, --category <name>
Assign category to nzb-file (for using with switch --append)
-G, --log <lines>
Request last <lines> lines from server's screen-log
-W, --write <D|I|W|E|G> "Text" Send text to server's log
-S, --scan
Scan incoming nzb-directory on server
-E, --edit [G|O|H] <action> <IDs> Edit items on server
G Affect all files in the group (same nzb-file)
O Edit post-processor-queue
H Edit history
<action> is one of:
<+offset|-offset>
Move file(s)/group(s)/post-job in queue relative to current position, offset is an integer value
T Move file(s)/group(s)/post-job to top of queue
B Move file(s)/group(s)/post-job to bottom of queue
P Pause file(s)/group(s)/ Postprocess history-item(s) again
U Resume (unpause) file(s)/group(s)
A Pause all pars (for groups)
R Pause extra pars (for groups)/ Return history-item(s) back to download queue
D Delete file(s)/group(s)/post-job(s)/history-item(s)
K <name>
Set category (for groups)
N <name>
Rename (for groups)
M Merge (for groups)
O <name>=<value>
Set post-process parameter (for groups)
I <priority>
Set priority (signed integer) for file(s)/group(s)
<IDs> Comma-separated list of file-ids or ranges of file-ids, e. g.: 1-5,3,10-22
nzbget version: 0.7.0 May 2011 NZBGET(1)