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
daptup
DAPTUP(8) System Manager's Manual DAPTUP(8)
NAME
daptup - wrapper script on 'apt-get update'
SYNOPSIS
daptup [ --pre | --post | --last ] [ -h | --help ] [ --nocolor ]
OPTIONS
--pre Do only 'pre' stage: collect info that will be used as 'old'. Usually need to be specified only in apt hooks.
--post If appropriate option is enabled in config file, do only 'post' stage: collect 'new' info and output changes. Otherwise do nothing.
Usually need to be specified only in apt hooks.
--last Output changes only. This option is supposed to be specified when you want to see changes made in the last update. Note that list of
outdated packages, if daptup is configured to output it, will be rebuilt.
-h --help
prints the help
--nocolor
Disables color output, useful for scripts or when output is not terminal. Now works only with --last option, however, you can dis-
able color globally in configuration file.
daptup is a script that runs "apt-get update" inside and outputs list of packages recently entered to repo, list of packages which got new
updates, list of changes in 'watched' packages and, optionally, list of outdated packages.
Starting with 0.8.0 version, daptup uses apt hooks and you don't need to explicitly call it if you use 'apt-get update'.
TROUBLESHOOTING
If daptup was interrupted while building the lists, the cached lists can stay in inconsistent state, which is inappropriate if you want to
use --last option before the new update. There is nothing to do if interrupt was occured at the moment when old lists were building
(besides running the new update). However, if interrupt was occured when the new lists were building, you can easily redo this stage by
calling 'daptup --post'.
FILES
/etc/daptup.conf
self-documented configuration file
/var/spool/daptup/outdated
cached file with info about outdated packages
SEE ALSO
apt-get(8), aptitude(8), apt-show-versions(1p)
AUTHOR
daptup was written by Eugene V. Lyubimkin.
This manual page was written by Eugene V. Lyubimkin <jackyf.devel@gmail.com>, for the Debian project (but may be used by others).
Oct 15, 2008 DAPTUP(8)